MCPcopy Create free account
hub / github.com/rsc/tmp / power

Function power

ftoa/fast_float/decimal_to_binary.h:65–67  ·  view source on GitHub ↗

* For q in (0,350), we have that * f = (((152170 + 65536) * q ) >> 16); * is equal to * floor(p) + q * where * p = log(5**q)/log(2) = q * log(5)/log(2) * * For negative values of q in (-400,0), we have that * f = (((152170 + 65536) * q ) >> 16); * is equal to * -ceil(p) + q * where * p = log(5**-q)/log(2) = -q * log(5)/log(2) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

compute_error_scaledFunction · 0.85
compute_floatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…