- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for FloatString (0.1 seconds)
-
lib/fips140/v1.26.0.zip
panic("x out of range") } if d <= 0 || d >= 12 { panic("d out of range") } precise := big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q // FloatString rounds halves away from 0, and our result should always be positive, // so it should work as we expect. (There's no direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction. return uint16(rounded...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
lib/fips140/v1.0.0-c2097c7c.zip
panic("x out of range") } if d <= 0 || d >= 12 { panic("d out of range") } precise := big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q // FloatString rounds halves away from 0, and our result should always be positive, // so it should work as we expect. (There's no direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction. return uint16(rounded...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
api/go1.txt
pkg math/big, method (*Rat) Abs(*Rat) *Rat pkg math/big, method (*Rat) Add(*Rat, *Rat) *Rat pkg math/big, method (*Rat) Cmp(*Rat) int pkg math/big, method (*Rat) Denom() *Int pkg math/big, method (*Rat) FloatString(int) string pkg math/big, method (*Rat) GobDecode([]uint8) error pkg math/big, method (*Rat) GobEncode() ([]uint8, error) pkg math/big, method (*Rat) Inv(*Rat) *Rat pkg math/big, method (*Rat) IsInt() bool
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)