Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for f64touint64 (0.24 sec)

  1. src/runtime/softfloat64.go

    	return int32(val)
    }
    
    func f64toint64(x uint64) int64 {
    	val, _ := f64toint(x)
    	return val
    }
    
    func f64touint64(x uint64) uint64 {
    	var m uint64 = 0x43e0000000000000 // float64 1<<63
    	if fgt64(m, x) {
    		return uint64(f64toint64(x))
    	}
    	y := fadd64(x, -m)
    	z := uint64(f64toint64(y))
    	return z | (1 << 63)
    }
    
    func f32touint64(x uint32) uint64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 17:58:41 UTC 2021
    - 11.5K bytes
    - Viewed (0)
Back to top