- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MaxExp (0.15 sec)
-
src/go/constant/value.go
if math.IsInf(x, 0) { return false } _, e := math.Frexp(x) return -maxExp < e && e < maxExp } // smallFloat reports whether x would lead to "reasonably"-sized fraction // if converted to a *big.Rat. func smallFloat(x *big.Float) bool { if x.IsInf() { return false } e := x.MantExp(nil) return -maxExp < e && e < maxExp }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/strconv/atof.go
mantissa >>= 1 exp++ } } if mantissa>>flt.mantbits == 0 { // Denormal or zero. exp = flt.bias } var err error if exp > maxExp { // infinity and range error mantissa = 1 << flt.mantbits exp = maxExp + 1 err = rangeError(fnParseFloat, s) } bits := mantissa & (1<<flt.mantbits - 1) bits |= uint64((exp-flt.bias)&(1<<flt.expbits-1)) << flt.mantbits if neg {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 06 18:50:50 UTC 2022 - 15.9K bytes - Viewed (0) -
src/math/big/float.go
const debugFloat = false // enable for debugging // A nonzero finite Float represents a multi-precision floating point number // // sign × mantissa × 2**exponent // // with 0.5 <= mantissa < 1.0, and MinExp <= exponent <= MaxExp. // A Float may also be zero (+0, -0) or infinite (+Inf, -Inf). // All Floats are ordered, and the ordering of two Floats x and y // is defined by x.Cmp(y). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
api/go1.5.txt
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 pkg math/big, const MaxExp ideal-int pkg math/big, const MaxPrec = 4294967295 pkg math/big, const MaxPrec ideal-int pkg math/big, const MinExp = -2147483648 pkg math/big, const MinExp ideal-int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0)