- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 301 for decimal32 (0.31 sec)
-
src/math/big/decimal.go
// be done precisely in binary representation. // // In contrast to strconv/decimal.go, only right shift is implemented in // decimal format - left shift can be done precisely in binary format. package big // A decimal represents an unsigned floating-point number in decimal representation. // The value of a non-zero decimal d is d.mant * 10**d.exp with 0.1 <= d.mant < 1,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 29 22:45:29 UTC 2020 - 6.6K bytes - Viewed (0) -
src/strconv/decimal.go
// Multiprecision decimal numbers. // For floating-point formatting only; not general purpose. // Only operations are assign and (binary) left/right shift. // Can do binary floating point in multiprecision decimal precisely // because 2 divides 10; cannot do decimal floating point // in multiprecision binary precisely. package strconv type decimal struct { d [800]byte // digits, big-endian representation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 15 19:41:25 UTC 2017 - 11K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
case 'a': ret = &Name{Name: "auto"} case 'c': ret = &Name{Name: "decltype(auto)"} case 'f': ret = &BuiltinType{Name: "decimal32"} case 'd': ret = &BuiltinType{Name: "decimal64"} case 'e': ret = &BuiltinType{Name: "decimal128"} case 'h': ret = &BuiltinType{Name: "half"} case 'u': ret = &BuiltinType{Name: "char8_t"} case 's':
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
test/literal2.go
} func main() { // 0-octals assert(0_1 == 01) assert(012 == 012) assert(0_1_2 == 012) assert(0_1_2i == complex(0, 12)) // decimal digits despite leading 0 for backward-compatibility assert(00089i == complex(0, 89)) // decimal digits despite leading 0 for backward-compatibility // decimals assert(1_000_000 == 1000000) assert(1_000i == complex(0, 1000)) // hexadecimals assert(0x_1 == 0x1) assert(0x1_2 == 0x12)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 19 22:45:09 UTC 2019 - 2.2K bytes - Viewed (0) -
src/go/printer/testdata/go2numbers.norm
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0x0 _ = 0x1234 _ = 0xCAFEf00d _ = 0x_0 _ = 0x_1234 _ = 0x_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0o0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 17 02:15:01 UTC 2020 - 1.9K bytes - Viewed (0) -
src/cmd/gofmt/testdata/go2numbers.golden
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0x0 _ = 0x1234 _ = 0xCAFEf00d _ = 0x_0 _ = 0x_1234 _ = 0x_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0o0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 21 17:24:29 UTC 2019 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
format := q.Format switch format { case DecimalExponent, DecimalSI: case BinarySI: if q.CmpInt64(-1024) > 0 && q.CmpInt64(1024) < 0 { // This avoids rounding and hopefully confusion, too. format = DecimalSI } else { var exact bool if rounded, exact = q.AsScale(0); !exact { // Don't lose precision-- show as DecimalSI format = DecimalSI } } default: format = DecimalExponent }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 23.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
{intQuantity(800, -3, DecimalSI), intQuantity(79, -2, DecimalSI), 1}, {intQuantity(mostPositive, 0, DecimalSI), intQuantity(1, -1, DecimalSI), 1}, {intQuantity(mostPositive, 1, DecimalSI), intQuantity(1, 0, DecimalSI), 1}, {intQuantity(mostPositive, 1, DecimalSI), intQuantity(1, 1, DecimalSI), 1}, {intQuantity(mostPositive, 1, DecimalSI), intQuantity(0, 1, DecimalSI), 1},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/go/printer/testdata/go2numbers.input
package p const ( // 0-octals _ = 0 _ = 0123 _ = 0123456 _ = 0_123 _ = 0123_456 // decimals _ = 1 _ = 1234 _ = 1234567 _ = 1_234 _ = 1_234_567 // hexadecimals _ = 0x0 _ = 0x1234 _ = 0xcafef00d _ = 0X0 _ = 0X1234 _ = 0XCAFEf00d _ = 0X_0 _ = 0X_1234 _ = 0X_CAFE_f00d // octals _ = 0o0 _ = 0o1234 _ = 0o01234567 _ = 0O0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 21:54:06 UTC 2020 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/generated.proto
// // (Note that <suffix> may be empty, from the "" case in <decimalSI>.) // // <digit> ::= 0 | 1 | ... | 9 // <digits> ::= <digit> | <digit><digits> // <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> // <sign> ::= "+" | "-" // <signedNumber> ::= <number> | <sign><number> // <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> // <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 3.9K bytes - Viewed (0)