- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for AwayFromZero (0.16 sec)
-
src/math/big/floatconv_test.go
{"8191.53125", ToNearestEven, 53, 'x', 5, "0x1.fff88p+12"}, {"8191.53125", ToNearestAway, 53, 'x', 5, "0x1.fff88p+12"}, {"8191.53125", ToZero, 53, 'x', 5, "0x1.fff88p+12"}, {"8191.53125", AwayFromZero, 53, 'x', 5, "0x1.fff88p+12"}, {"8191.53125", ToNegativeInf, 53, 'x', 5, "0x1.fff88p+12"}, {"8191.53125", ToPositiveInf, 53, 'x', 5, "0x1.fff88p+12"}, {"8191.53125", defaultRound, 53, 'x', 4, "0x1.fff8p+12"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 24.3K bytes - Viewed (0) -
api/go1.5.txt
pkg log, func Output(int, string) error pkg log, method (*Logger) SetOutput(io.Writer) pkg math/big, const Above = 1 pkg math/big, const Above Accuracy pkg math/big, const AwayFromZero = 3 pkg math/big, const AwayFromZero RoundingMode pkg math/big, const Below = -1 pkg math/big, const Below Accuracy pkg math/big, const Exact = 0 pkg math/big, const Exact Accuracy pkg math/big, const MaxExp = 2147483647
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
src/math/big/float.go
const ( ToNearestEven RoundingMode = iota // == IEEE 754-2008 roundTiesToEven ToNearestAway // == IEEE 754-2008 roundTiesToAway ToZero // == IEEE 754-2008 roundTowardZero AwayFromZero // no IEEE 754-2008 equivalent ToNegativeInf // == IEEE 754-2008 roundTowardNegative ToPositiveInf // == IEEE 754-2008 roundTowardPositive )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/go/constant/value.go
// try rounding down a little t.SetMode(big.ToZero) t.Set(x.val) if _, acc := t.Int(i); acc == big.Exact { return makeInt(i) } // try rounding up a little t.SetMode(big.AwayFromZero) t.Set(x.val) if _, acc := t.Int(i); acc == big.Exact { return makeInt(i) } } case complexVal: if re := ToFloat(x); re.Kind() == Float { return ToInt(re) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0)