- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for f64toint32 (0.32 sec)
-
src/runtime/softfloat64_test.go
} // float64 -hw-> int32 -hw-> float64 func hwint32(f float64) float64 { return float64(int32(f)) } // float64 -sw-> int64 -hw-> float64 func toint64sw(f float64) float64 { i, ok := F64toint(math.Float64bits(f)) if !ok { // There's no right answer for out of range. // Match the hardware to pass the test. i = int64(f) } return float64(i) } // float64 -hw-> int64 -sw-> float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4K bytes - Viewed (0)