- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for underflow (0.34 sec)
-
src/math/exp.go
Log2e = 1.44269504088896338700e+00 Overflow = 7.09782712893383973096e+02 Underflow = -7.45133219101941108420e+02 NearZero = 1.0 / (1 << 28) // 2**-28 ) // special cases switch { case IsNaN(x) || IsInf(x, 1): return x case IsInf(x, -1): return 0 case x > Overflow: return Inf(1) case x < Underflow: return 0 case -NearZero < x && x < NearZero: return 1 + x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 5.4K bytes - Viewed (0) -
src/runtime/histogram.go
counts [timeHistNumBuckets * timeHistNumSubBuckets]atomic.Uint64 // underflow counts all the times we got a negative duration // sample. Because of how time works on some platforms, it's // possible to measure negative durations. We could ignore them, // but we record them anyway because it's better to have some // signal that it's happening than just missing samples. underflow atomic.Uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopbce.go
} return x + int64(y) } // subU returns x-y. Requires that x-y does not underflow an int64. func subU(x int64, y uint64) int64 { if y >= 1<<63 { if x < 0 { base.Fatalf("subU underflowed %d - %d", x, y) } x -= 1<<63 - 1 x -= 1 y -= 1 << 63 } if subWillUnderflow(x, int64(y)) { base.Fatalf("subU underflowed %d - %d", x, y) } return x - int64(y) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0) -
src/runtime/histogram_test.go
for k := 0; k < (i+1-TimeHistMinBucketBits)*TimeHistNumSubBuckets+j; k++ { // Record a number of times equal to the bucket index. h.Record(base + v) } } } // Hit the underflow and overflow buckets. h.Record(int64(-1)) h.Record(math.MaxInt64) h.Record(math.MaxInt64) // Check to make sure there's exactly one count in each // bucket. for i := 0; i < TimeHistNumBuckets; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:01 UTC 2022 - 3.5K bytes - Viewed (0) -
src/debug/dwarf/buf.go
return buf{d, d.order, format, name, off, data, nil} } func (b *buf) uint8() uint8 { if len(b.data) < 1 { b.error("underflow") return 0 } val := b.data[0] b.data = b.data[1:] b.off++ return val } func (b *buf) bytes(n int) []byte { if n < 0 || len(b.data) < n { b.error("underflow") return nil } data := b.data[0:n] b.data = b.data[n:] b.off += Offset(n) return data }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 21 17:14:08 UTC 2022 - 3.7K bytes - Viewed (0) -
src/math/jn.go
} else { b = J1(x) for i, a := 1, J0(x); i < n; i++ { a, b = b, b*(float64(i+i)/x)-a // avoid underflow } } } else { if x < TwoM29 { // x < 2**-29 // x is tiny, return the first Taylor expansion of J(n,x) // J(n,x) = 1/n!*(x/2)**n - ... if n > 33 { // underflow b = 0 } else { temp := x * 0.5 b = temp a := 1.0 for i := 2; i <= n; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 7.2K bytes - Viewed (0) -
src/math/hypot.go
package math /* Hypot -- sqrt(p*p + q*q), but overflows only if the result does. */ // Hypot returns [Sqrt](p*p + q*q), taking care to avoid // unnecessary overflow and underflow. // // Special cases are: // // Hypot(±Inf, q) = +Inf // Hypot(p, ±Inf) = +Inf // Hypot(NaN, q) = NaN // Hypot(p, NaN) = NaN func Hypot(p, q float64) float64 { if haveArchHypot { return archHypot(p, q)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 850 bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
if (!result.isUnderflow()) { result.throwException(); } break; } wasUnderflow = result.isUnderflow(); } if (needsFlush) { CoderResult result = decoder.flush(charbuffer); if (!result.isUnderflow()) { result.throwException(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.6K bytes - Viewed (0) -
src/internal/abi/stack.go
// beyond the stack guard. StackSmall = 128 // Functions that need frames <= StackBig can assume that neither // SP-framesize nor stackGuard-StackSmall will underflow, and thus use a // more efficient check. In order to ensure this, StackBig must be <= the // size of the unmapped space at zero. StackBig = 4096
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/math/ldexp.go
case IsInf(frac, 0) || IsNaN(frac): return frac } frac, e := normalize(frac) exp += e x := Float64bits(frac) exp += int(x>>shift)&mask - bias if exp < -1075 { return Copysign(0, frac) // underflow } if exp > 1023 { // overflow if frac < 0 { return Inf(-1) } return Inf(1) } var m float64 = 1 if exp < -1022 { // denormal exp += 53 m = 1.0 / (1 << 53) // 2**-53 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 1.1K bytes - Viewed (0)