- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for smantissa (0.12 sec)
-
src/math/big/float_test.go
mode, x, x, got, want) } } } // TestFloatAdd32 tests that Float.Add/Sub of numbers with // 24bit mantissa behaves like float32 addition/subtraction // (excluding denormal numbers). func TestFloatAdd32(t *testing.T) { // chose base such that we cross the mantissa precision limit const base = 1<<26 - 0x10 // 11...110000 (26 bits) for d := 0; d <= 0x10; d++ { for i := range [2]int{} {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
b := math.Float64bits(f) m := b & ((1 << 52) - 1) // mantissa (a.k.a. significand) // | sign | exponent | mantissa | r := uint32(((b >> 32) & (1 << 31)) | 0x7f800000 | (m >> (52 - 23))) return math.Float32frombits(r) } // extend32Fto64F converts a float32 value to a float64 value preserving the bit // pattern of the mantissa. func extend32Fto64F(f float32) float64 {
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/go/types/expr.go
check.error(e, BadDotDotDotSyntax, "invalid use of '...'") goto Error case *ast.BasicLit: switch e.Kind { case token.INT, token.FLOAT, token.IMAG: check.langCompat(e) // The max. mantissa precision for untyped numeric values // is 512 bits, or 4048 bits for each of the two integer // parts of a fraction for floating-point numbers that are // represented accurately in the go/constant package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/expr.go
case *syntax.BasicLit: if e.Bad { goto Error // error reported during parsing } switch e.Kind { case syntax.IntLit, syntax.FloatLit, syntax.ImagLit: check.langCompat(e) // The max. mantissa precision for untyped numeric values // is 512 bits, or 4048 bits for each of the two integer // parts of a fraction for floating-point numbers that are // represented accurately in the go/constant package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 51.7K bytes - Viewed (0) -
src/cmd/internal/obj/arm/asm5.go
} n := 0 // sign bit (a) if h&0x80000000 != 0 { n |= 1 << 7 } // exp sign bit (b) if h1 == 0x3fc00000 { n |= 1 << 6 } // rest of exp and mantissa (cd-efgh) n |= int((h >> 16) & 0x3f) //print("match %.8lux %.8lux %d\n", l, h, n); return n } func nocache(p *obj.Prog) { p.Optab = 0 p.From.Class = 0 if p.GetFrom3() != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 20:51:01 UTC 2023 - 79.4K bytes - Viewed (0)