- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for MaxFloat64 (0.24 sec)
-
src/math/rand/v2/rand.go
// swap swaps the elements with indexes i and j. func Shuffle(n int, swap func(i, j int)) { globalRand.Shuffle(n, swap) } // NormFloat64 returns a normally distributed float64 in the range // [-math.MaxFloat64, +math.MaxFloat64] with // standard normal distribution (mean = 0, stddev = 1) // from the default Source. // To produce a different normal distribution, callers can // adjust the output using: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
src/math/rand/rand.go
func Read(p []byte) (n int, err error) { return globalRand().Read(p) } // NormFloat64 returns a normally distributed float64 in the range // [-[math.MaxFloat64], +[math.MaxFloat64]] with // standard normal distribution (mean = 0, stddev = 1) // from the default [Source]. // To produce a different normal distribution, callers can // adjust the output using: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
}, }, {name: "numbers", obj: objs(math.MaxFloat64, math.MaxFloat64, math.MaxFloat32, math.MaxFloat32, math.MaxFloat64, math.MaxFloat64, int64(1)), schema: schemas(numberType, numberType, floatType, floatType, doubleType, doubleType, doubleType), valid: []string{ ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", fmt.Sprintf("%f", math.MaxFloat64)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
want: float64(math.SmallestNonzeroFloat64), assertOnError: assertNilError, }, { name: "max float64 value", in: hex("fb7fefffffffffffff"), want: float64(math.MaxFloat64), assertOnError: assertNilError, }, { name: "max float32 value as double precision", in: hex("fb47efffffe0000000"), want: float64(math.MaxFloat32),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0) -
src/math/big/float.go
// represented by a float64 (|x| < [math.SmallestNonzeroFloat64]), the result // is (0, [Below]) or (-0, [Above]), respectively, depending on the sign of x. // If x is too large to be represented by a float64 (|x| > [math.MaxFloat64]), // the result is (+Inf, [Above]) or (-Inf, [Below]), depending on the sign of x. func (x *Float) Float64() (float64, Accuracy) { if debugFloat { x.validate() } switch x.form { case finite:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
return pl } func (pl *reverseNumericMapPlugin) NormalizeScore(_ context.Context, _ *framework.CycleState, _ *v1.Pod, nodeScores framework.NodeScoreList) *framework.Status { var maxScore float64 minScore := math.MaxFloat64 for _, hostPriority := range nodeScores { maxScore = math.Max(maxScore, float64(hostPriority.Score)) minScore = math.Min(minScore, float64(hostPriority.Score)) } for i, hostPriority := range nodeScores {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
src/reflect/value.go
return false } panic(&ValueError{"reflect.Value.OverflowFloat", v.kind()}) } func overflowFloat32(x float64) bool { if x < 0 { x = -x } return math.MaxFloat32 < x && x <= math.MaxFloat64 } // OverflowInt reports whether the int64 x cannot be represented by v's type. // It panics if v's Kind is not [Int], [Int8], [Int16], [Int32], or [Int64]. func (v Value) OverflowInt(x int64) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)