Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for computeBounds (0.18 sec)

  1. src/strconv/ftoaryu.go

    func mulByLog10Log2(x int) int {
    	// log(10)/log(2) ≈ 3.32192809489 ≈ 108853 / 2^15
    	return (x * 108853) >> 15
    }
    
    // computeBounds returns a floating-point vector (l, c, u)×2^e2
    // where the mantissas are 55-bit (or 26-bit) integers, describing the interval
    // represented by the input float64 or float32.
    func computeBounds(mant uint64, exp int, flt *floatInfo) (lower, central, upper uint64, e2 int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
Back to top