- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AuxFloat (0.1 sec)
-
src/cmd/compile/internal/ssa/check.go
case auxFloat32: canHaveAuxInt = true if math.IsNaN(v.AuxFloat()) { f.Fatalf("value %v has an AuxInt that encodes a NaN", v) } if !isExactFloat32(v.AuxFloat()) { f.Fatalf("value %v has an AuxInt value that is not an exact float32", v) } case auxFloat64: canHaveAuxInt = true if math.IsNaN(v.AuxFloat()) { f.Fatalf("value %v has an AuxInt that encodes a NaN", v) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/value.go
return uint64(uint32(c)) case OpConst16: return uint64(uint16(c)) case OpConst8: return uint64(uint8(c)) } v.Fatalf("op %s isn't OpConst*", v.Op) return 0 } func (v *Value) AuxFloat() float64 { if opcodeTable[v.Op].auxType != auxFloat32 && opcodeTable[v.Op].auxType != auxFloat64 { v.Fatalf("op %s doesn't have a float aux field", v.Op) } return math.Float64frombits(uint64(v.AuxInt)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:40:22 UTC 2024 - 16.7K bytes - Viewed (0)