Skip to content

Commit

Permalink
spell out "significant figures" (#6081)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Apr 12, 2024
1 parent 6f008bd commit a11a2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions man/setNumericRounding.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Computers cannot represent some floating point numbers (such as 0.6)
precisely, using base 2. This leads to unexpected behaviour when joining or
grouping columns of type 'numeric'; i.e. 'double', see example below. In
cases where this is undesirable, data.table allows rounding such data up to
approximately 11 s.f. which is plenty of digits for many cases. This is
achieved by rounding the last 2 bytes off the significand. Other possible
approximately 11 significant figures which is plenty of digits for many cases.
This is achieved by rounding the last 2 bytes off the significand. Other possible
values are 1 byte rounding, or no rounding (full precision, default).

It is bytes rather than bits because it is tied in with the radix sort
Expand Down

0 comments on commit a11a2e2

Please sign in to comment.