Tweak of the documentation.
This commit is contained in:
parent
d9456b3030
commit
268f26a84f
|
@ -116,7 +116,9 @@ simdjson_really_inline bool compute_float_64(int64_t power, uint64_t i, bool neg
|
|||
// For power in (-400,350), we have that
|
||||
// (((152170 + 65536) * power ) >> 16);
|
||||
// is equal to
|
||||
// floor(log(5**power)/log(2)) + power
|
||||
// floor(log(5**power)/log(2)) + power when power >= 0
|
||||
// and it is equal to
|
||||
// ceil(log(5**-power)/log(2)) + power when power < 0
|
||||
//
|
||||
// The 65536 is (1<<16) and corresponds to
|
||||
// (65536 * power) >> 16 ---> power
|
||||
|
|
Loading…
Reference in New Issue