MCPcopy
hub / github.com/pquerna/ffjson / frexp10Many

Function frexp10Many

fflib/v1/extfloat.go:368–373  ·  view source on GitHub ↗

frexp10Many applies a common shift by a power of ten to a, b, c.

(a, b, c *extFloat)

Source from the content-addressed store, hash-verified

366
367// frexp10Many applies a common shift by a power of ten to a, b, c.
368func frexp10Many(a, b, c *extFloat) (exp10 int) {
369 exp10, i := c.frexp10()
370 a.Multiply(powersOfTen[i])
371 b.Multiply(powersOfTen[i])
372 return
373}
374
375// FixedDecimal stores in d the first n significant digits
376// of the decimal representation of f. It returns false

Callers 1

ShortestDecimalMethod · 0.70

Calls 2

frexp10Method · 0.45
MultiplyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…