- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsNan (0.11 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
// of the mantissa. It will panic if the truncation results in lost information. func truncate64Fto32F(f float64) float32 { if !isExactFloat32(f) { panic("truncate64Fto32F: truncation is not exact") } if !math.IsNaN(f) { return float32(f) } // NaN bit patterns aren't necessarily preserved across conversion // instructions so we need to do the conversion manually. b := math.Float64bits(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) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(FMOVDstore [off] {sym} ptr (MTVSRD x) mem) => (MOVDstore [off] {sym} ptr x mem) (MOVDstore [off] {sym} ptr (MFVSRD x) mem) => (FMOVDstore [off] {sym} ptr x mem) (MTVSRD (MOVDconst [c])) && !math.IsNaN(math.Float64frombits(uint64(c))) => (FMOVDconst [math.Float64frombits(uint64(c))]) (MFVSRD (FMOVDconst [c])) => (MOVDconst [int64(math.Float64bits(c))])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0)