Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for auxFrom32F (0.11 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    func auxFrom64F(f float64) int64 {
    	if f != f {
    		panic("can't encode a NaN in AuxInt field")
    	}
    	return int64(math.Float64bits(f))
    }
    
    // auxFrom32F encodes a float32 value so it can be stored in an AuxInt.
    func auxFrom32F(f float32) int64 {
    	if f != f {
    		panic("can't encode a NaN in AuxInt field")
    	}
    	return int64(math.Float64bits(extend32Fto64F(f)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top