- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FloatForComplex (0.39 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
} else if ft.Size() == 16 && tt.Size() == 8 { op = ssa.OpCvt64Fto32F } else { s.Fatalf("weird complex conversion %v -> %v", ft, tt) } ftp := types.FloatForComplex(ft) ttp := types.FloatForComplex(tt) return s.newValue2(ssa.OpComplexMake, tt, s.newValueOrSfCall1(op, ttp, s.newValue1(ssa.OpComplexReal, ftp, v)), s.newValueOrSfCall1(op, ttp, s.newValue1(ssa.OpComplexImag, ftp, v))) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
// Check types. if IsSimple[t.Kind()] { return t } switch t.Kind() { case TARRAY, TCHAN, TFUNC, TMAP, TSLICE, TSTRING, TSTRUCT: return t } return nil } func FloatForComplex(t *Type) *Type { switch t.Kind() { case TCOMPLEX64: return Types[TFLOAT32] case TCOMPLEX128: return Types[TFLOAT64] } base.Fatalf("unexpected type: %v", t) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)