- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for floatBits (0.12 sec)
-
src/encoding/gob/encgen.go
state.encodeUint(0) }`, }, { "complex64", "Complex64", "0+0i", `rpart := floatBits(float64(real(x))) ipart := floatBits(float64(imag(x))) state.encodeUint(rpart) state.encodeUint(ipart)`, }, { "complex128", "Complex128", "0+0i", `rpart := floatBits(real(x)) ipart := floatBits(imag(x)) state.encodeUint(rpart) state.encodeUint(ipart)`, }, { "float32",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:39:09 UTC 2024 - 3.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/util.go
func makeFromLiteral(lit string, kind syntax.LitKind) constant.Value { return constant.MakeFromLiteral(lit, kind2tok[kind], 0) } var kind2tok = [...]token.Token{ syntax.IntLit: token.INT, syntax.FloatLit: token.FLOAT, syntax.ImagLit: token.IMAG, syntax.RuneLit: token.CHAR, syntax.StringLit: token.STRING,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/tokens.go
// TODO(gri) With the 'i' (imaginary) suffix now permitted on integer // and floating-point numbers, having a single ImagLit does // not represent the literal kind well anymore. Remove it? const ( IntLit LitKind = iota FloatLit ImagLit RuneLit StringLit ) type Operator uint //go:generate stringer -type Operator -linecomment tokens.go const ( _ Operator = iota // Def is the : in :=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 2.6K bytes - Viewed (0)