- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,784 for nmPath (0.13 sec)
-
src/internal/fuzz/encoding.go
// or negative zero it is "0" or "-0". For NaN, it is the string "NaN". fmt.Fprintf(b, "%T(%v)\n", t, t) } case float64: if math.IsNaN(t) && math.Float64bits(t) != math.Float64bits(math.NaN()) { fmt.Fprintf(b, "math.Float64frombits(0x%x)\n", math.Float64bits(t)) } else { fmt.Fprintf(b, "%T(%v)\n", t, t) } case string: fmt.Fprintf(b, "string(%q)\n", t) case rune: // int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 16:39:12 UTC 2022 - 11K bytes - Viewed (0) -
src/runtime/minmax_test.go
// license that can be found in the LICENSE file. package runtime_test import ( "math" "strings" "testing" "unsafe" ) var ( zero = math.Copysign(0, +1) negZero = math.Copysign(0, -1) inf = math.Inf(+1) negInf = math.Inf(-1) nan = math.NaN() ) var tests = []struct{ min, max float64 }{ {1, 2}, {-2, 1}, {negZero, zero}, {zero, inf},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 01:41:50 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/index.txt
# Check that standard library packages are cached. go list -json math # refresh cache env GODEBUG=gofsystrace=1,gofsystracelog=fsys.log go list -json math ! grep math/abs.go fsys.log
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 11 16:51:38 UTC 2022 - 229 bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java
* limitations under the License. */ package com.google.common.math; import static com.google.common.math.MathBenchmarking.ARRAY_MASK; import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger; import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger; import com.google.caliper.BeforeExperiment;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 30 13:06:20 UTC 2020 - 2.8K bytes - Viewed (0) -
api/go1.5.txt
pkg math/big, const MaxPrec ideal-int pkg math/big, const MinExp = -2147483648 pkg math/big, const MinExp ideal-int pkg math/big, const ToNearestAway = 1 pkg math/big, const ToNearestAway RoundingMode pkg math/big, const ToNearestEven = 0 pkg math/big, const ToNearestEven RoundingMode pkg math/big, const ToNegativeInf = 4 pkg math/big, const ToNegativeInf RoundingMode pkg math/big, const ToPositiveInf = 5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
test/fixedbugs/bug434.go
// are treated as equivalent to zero constants. package main import "math" const zero = 0.0 func main() { x := -zero b := math.Float64bits(x) if b != 0 { panic(b) } x = -float64(zero) b = math.Float64bits(x) if b != 0 { panic(b) } v := x b = math.Float64bits(-v) if b != 0x8000000000000000 { panic(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 23 22:47:34 UTC 2012 - 565 bytes - Viewed (0) -
src/math/cmplx/pow.go
case r < 0: if i == 0 { return complex(math.Inf(1), 0) } return Inf() case r > 0: return 0 } panic("not reached") } modulus := Abs(x) if modulus == 0 { return complex(0, 0) } r := math.Pow(modulus, real(y)) arg := Phase(x) theta := real(y) * arg if imag(y) != 0 { r *= math.Exp(-imag(y) * arg) theta += imag(y) * math.Log(modulus) } s, c := math.Sincos(theta)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 2.3K bytes - Viewed (0) -
src/math/big/rat_test.go
if math.Abs(float64(f)) >= math.MaxFloat32 { // Cannot check +Inf, -Inf, nor the float next to them (MaxFloat32). // But we have tests for these special cases. return true } // r must be strictly between f0 and f1, the floats bracketing f. f0 := math.Nextafter32(f, float32(math.Inf(-1))) f1 := math.Nextafter32(f, float32(math.Inf(+1)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 00:15:59 UTC 2022 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 18:17:27 UTC 2022 - 5.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java
*/ package com.google.common.math; import static com.google.common.math.MathBenchmarking.ARRAY_MASK; import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE; import static com.google.common.math.MathBenchmarking.randomNonZeroBigInteger; import static com.google.common.math.MathBenchmarking.randomPositiveBigInteger;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.6K bytes - Viewed (0)