- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 389 for inexact (0.13 sec)
-
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go
// so node is the result. Is it exact? // (It's tempting to put this condition before the // child loop, but it gives the wrong result in the // case where a node (e.g. ExprStmt) and its sole // child have equal intervals.) if start == nodePos && end == nodeEnd { return true // exact match } return false // inexact: overlaps multiple children }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 15.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/go/types/unify.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.9K bytes - Viewed (0) -
src/math/lgamma.go
if x < 0.25 { return -Sin(Pi * x) } // argument reduction z := Floor(x) var n int if z != x { // inexact x = Mod(x, 2) n = int(x * 4) } else { if x >= Two53 { // x must be even x = 0 n = 0 } else { if x < Two52 { z = x + Two52 // exact } n = int(1 & Float64bits(z)) x = float64(n) n <<= 2 } } switch n { case 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 11K bytes - Viewed (0) -
src/math/erf.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 11.5K bytes - Viewed (0) -
src/math/j1.go
} else { u := pone(x) v := qone(x) z = (1 / SqrtPi) * (u*cc - v*ss) / Sqrt(x) } if sign { return -z } return z } if x < TwoM27 { // |x|<2**-27 return 0.5 * x // inexact if x!=0 necessary } z := x * x r := z * (R00 + z*(R01+z*(R02+z*R03))) s := 1.0 + z*(S01+z*(S02+z*(S03+z*(S04+z*S05)))) r *= x z = 0.5*x + r/s if sign { return -z } return z }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 13.3K bytes - Viewed (0) -
src/strconv/atof.go
// entirely in floating-point math, do so, avoiding the expense of decimalToFloatBits. // Three common cases: // // value is exact integer // value is exact integer * exact power of ten // value is exact integer / exact power of ten // // These all produce potentially inexact but correctly rounded answers. func atof64exact(mantissa uint64, exp int, neg bool) (f float64, ok bool) { if mantissa>>float64info.mantbits != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 06 18:50:50 UTC 2022 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
func (q *Quantity) RoundUp(scale Scale) bool { if q.d.Dec != nil { q.s = "" d, exact := q.d.AsScale(scale) q.d = d return exact } // avoid clearing the string value if we have already calculated it if q.i.scale >= scale { return true } q.s = "" i, exact := q.i.AsScale(scale) q.i = i return exact } // Add adds the provide y quantity to the current value. If the current value is zero,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 23.8K bytes - Viewed (0) -
src/math/big/float.go
if x.neg { var z float64 return -z, Exact } return 0.0, Exact case inf: if x.neg { return math.Inf(-1), Exact } return math.Inf(+1), Exact } panic("unreachable") } // Int returns the result of truncating x towards zero; // or nil if x is an infinity. // The result is [Exact] if x.IsInt(); otherwise it is [Below]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
pilot/pkg/security/authz/builder/testdata/http/extended-single-policy-out.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 17.4K bytes - Viewed (0)