/prebuilts/go/darwin-x86/src/math/ |
sqrt_386.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_amd64.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB), NOSPLIT, $0
|
sqrt_arm.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_arm64.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_mipsx.s | 9 // func Sqrt(x float64) float64 10 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_ppc64x.s | 9 // func Sqrt(x float64) float64 10 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_s390x.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
hypot.go | 8 Hypot -- sqrt(p*p + q*q), but overflows only if the result does. 11 // Hypot returns Sqrt(p*p + q*q), taking care to avoid 42 return p * Sqrt(1+q*q)
|
log1p.go | 27 // where sqrt(2)/2 < 1+f < sqrt(2) . 99 Sqrt2M1 = 4.142135623730950488017e-01 // Sqrt(2)-1 = 0x3fda827999fcef34 100 Sqrt2HalfM1 = -2.928932188134524755992e-01 // Sqrt(2)/2-1 = 0xbfd2bec333018866 133 if absx < Sqrt2M1 { // |x| < Sqrt(2)-1 140 if x > Sqrt2HalfM1 { // Sqrt(2)/2-1 < x 141 // (Sqrt(2)/2-1) < x < (Sqrt(2)-1) 167 if iu < 0x0006a09e667f3bcd { // mantissa of Sqrt(2) 174 f = u - 1.0 // Sqrt(2)/2 < u < Sqrt(2 [all...] |
/prebuilts/go/linux-x86/src/math/ |
sqrt_386.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_amd64.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB), NOSPLIT, $0
|
sqrt_arm.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_arm64.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_mipsx.s | 9 // func Sqrt(x float64) float64 10 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_ppc64x.s | 9 // func Sqrt(x float64) float64 10 TEXT ·Sqrt(SB),NOSPLIT,$0
|
sqrt_s390x.s | 7 // func Sqrt(x float64) float64 8 TEXT ·Sqrt(SB),NOSPLIT,$0
|
hypot.go | 8 Hypot -- sqrt(p*p + q*q), but overflows only if the result does. 11 // Hypot returns Sqrt(p*p + q*q), taking care to avoid 42 return p * Sqrt(1+q*q)
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/ |
sqrt_const.go | 18 {"sqrt0", 0, math.Sqrt(0), 0}, 19 {"sqrt1", 1, math.Sqrt(1), 1}, 20 {"sqrt2", 2, math.Sqrt(2), math.Sqrt2}, 21 {"sqrt4", 4, math.Sqrt(4), 2}, 22 {"sqrt100", 100, math.Sqrt(100), 10}, 23 {"sqrt101", 101, math.Sqrt(101), 10.04987562112089}, 31 {"sqrtNaN", math.NaN(), math.Sqrt(math.NaN())}, 32 {"sqrtNegative", -1, math.Sqrt(-1)}, 33 {"sqrtNegInf", math.Inf(-1), math.Sqrt(math.Inf(-1))}, 41 fmt.Printf("%s: math.Sqrt(%f): got %f, want %f\n", test.name, test.in, test.got, test.want [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/ |
sqrt_const.go | 18 {"sqrt0", 0, math.Sqrt(0), 0}, 19 {"sqrt1", 1, math.Sqrt(1), 1}, 20 {"sqrt2", 2, math.Sqrt(2), math.Sqrt2}, 21 {"sqrt4", 4, math.Sqrt(4), 2}, 22 {"sqrt100", 100, math.Sqrt(100), 10}, 23 {"sqrt101", 101, math.Sqrt(101), 10.04987562112089}, 31 {"sqrtNaN", math.NaN(), math.Sqrt(math.NaN())}, 32 {"sqrtNegative", -1, math.Sqrt(-1)}, 33 {"sqrtNegInf", math.Inf(-1), math.Sqrt(math.Inf(-1))}, 41 fmt.Printf("%s: math.Sqrt(%f): got %f, want %f\n", test.name, test.in, test.got, test.want [all...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue16804.go | 7 // Issue 16804: internal error for math.Sqrt as statement 14 func sqrt() { func 15 math.Sqrt(2.0)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue16804.go | 7 // Issue 16804: internal error for math.Sqrt as statement 14 func sqrt() { func 15 math.Sqrt(2.0)
|
/prebuilts/go/darwin-x86/src/runtime/ |
sqrt_test.go | 5 // A copy of Sqrt tests from the math package to test the 6 // purely integer arithmetic implementation in sqrt.go. 17 return math.Float64frombits(runtime.Sqrt(math.Float64bits(x))) 23 if f := SqrtRT(a); sqrt[i] != f { 24 t.Errorf("Sqrt(%g) = %g, want %g", a, f, sqrt[i]) 29 t.Errorf("Sqrt(%g) = %g, want %g", vfsqrtSC[i], f, sqrtSC[i]) 57 var sqrt = []float64{ var
|
/prebuilts/go/linux-x86/src/runtime/ |
sqrt_test.go | 5 // A copy of Sqrt tests from the math package to test the 6 // purely integer arithmetic implementation in sqrt.go. 17 return math.Float64frombits(runtime.Sqrt(math.Float64bits(x))) 23 if f := SqrtRT(a); sqrt[i] != f { 24 t.Errorf("Sqrt(%g) = %g, want %g", a, f, sqrt[i]) 29 t.Errorf("Sqrt(%g) = %g, want %g", vfsqrtSC[i], f, sqrtSC[i]) 57 var sqrt = []float64{ var
|
/prebuilts/go/darwin-x86/src/math/cmplx/ |
sqrt.go | 56 // Sqrt returns the square root of x. 58 func Sqrt(x complex128) complex128 { 64 return complex(0, math.Sqrt(-real(x))) 66 return complex(math.Sqrt(real(x)), 0) 70 r := math.Sqrt(-0.5 * imag(x)) 73 r := math.Sqrt(0.5 * imag(x)) 92 t = math.Sqrt(0.5*r + 0.5*a) 96 r = math.Sqrt(0.5*r - 0.5*a)
|
/prebuilts/go/linux-x86/src/math/cmplx/ |
sqrt.go | 56 // Sqrt returns the square root of x. 58 func Sqrt(x complex128) complex128 { 64 return complex(0, math.Sqrt(-real(x))) 66 return complex(math.Sqrt(real(x)), 0) 70 r := math.Sqrt(-0.5 * imag(x)) 73 r := math.Sqrt(0.5 * imag(x)) 92 t = math.Sqrt(0.5*r + 0.5*a) 96 r = math.Sqrt(0.5*r - 0.5*a)
|