Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FloatString (0.08 sec)

  1. 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...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.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...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  3. 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
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top