/openbsd-current/lib/libm/arch/amd64/ |
H A D | e_sqrt.S | 10 ENTRY(sqrt) 11 RETGUARD_SETUP(sqrt, r11) 13 RETGUARD_CHECK(sqrt, r11) 15 END_STD(sqrt)
|
/openbsd-current/lib/libm/arch/hppa/ |
H A D | e_sqrt.c | 10 sqrt(double x) function 15 DEF_STD(sqrt); variable 16 LDBL_CLONE(sqrt); variable
|
/openbsd-current/regress/lib/libcrypto/bn/ |
H A D | bn_mod_sqrt.c | 25 * Test that .sqrt * .sqrt = .a (mod .p) where .p is a prime. If .sqrt is 32 const char *sqrt; member in struct:mod_sqrt_test 37 .sqrt = "0", 42 .sqrt = "1", 47 .sqrt = "1", 52 .sqrt = "0", 61 .sqrt = "0", 66 .sqrt 2917 const char *sqrt[N_SMALL_SQUARE_TESTS]; member in struct:p_is_1_mod_8_tests [all...] |
/openbsd-current/lib/libm/arch/i387/ |
H A D | e_sqrt.S | 9 ENTRY(sqrt) 13 END_STD(sqrt)
|
/openbsd-current/regress/usr.bin/mandoc/eqn/unary/ |
H A D | Makefile | 3 REGRESS_TARGETS = bold diacrit sqrt 4 HTML_TARGETS = bold diacrit sqrt
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920617-1.c | 1 f(){double*xp,y;*xp++=sqrt(y);}
|
H A D | 981007-1.c | 2 extern double sqrt (double); 20 return (x>=0) ? setCom(sqrt(x),0) : setCom(0,sqrt(-x));
|
H A D | 920723-1.c | 12 double sqrt(); 26 d = sqrt(d);
|
H A D | 921206-1.c | 1 double sqrt(double),fabs(double),sin(double); 22 double c=2.25, z=sqrt(fabs(1-c)), cz=(c>1?0.0:-10)>z?c>1?0:1:z;
|
/openbsd-current/lib/libm/arch/sh/ |
H A D | e_sqrt.c | 14 sqrt(double d) function 34 DEF_STD(sqrt); variable 35 LDBL_CLONE(sqrt); variable
|
/openbsd-current/regress/lib/libm/fpaccuracy/ |
H A D | sqrt.c | 1 /* $OpenBSD: sqrt.c,v 1.1 2009/04/09 01:24:43 martynas Exp $ */ 25 #define F sqrt 26 #define Fs "sqrt"
|
H A D | Makefile | 7 sincos.c sincos2.c sinh.c sqrt.c tan.c tanh.c y0.c y1.c
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | exp.t | 17 eval { $s = sqrt(-1) }; # Kind of compile time. 18 like($@, qr/sqrt of -1/, 'compile time sqrt(-1) fails'); 20 $s = sqrt(0); 21 is($s, 0, 'compile time sqrt(0)'); 23 $s = sqrt(1); 24 is($s, 1, 'compile time sqrt(1)'); 26 $s = sqrt(2); 27 is(substr($s,0,5), '1.414', 'compile time sqrt(2) == 1.414'); 54 eval { $s = sqrt( [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | sparc-dwarf2.c | 6 extern __inline double sqrt (double __x) function 28 skew1 = sqrt((Sqr(delta_freq1) * old_weight + Sqr(delta_freq2) * new_weight) / sum_weight);
|
/openbsd-current/lib/libm/src/ |
H A D | s_csqrt.c | 80 r = sqrt (r); 92 r = sqrt (0.5*r); 118 t = sqrt(0.5 * r + 0.5 * x); 123 r = sqrt( 0.5 * r - 0.5 * x );
|
H A D | e_acosh.c | 16 * acosh(x) = log [ x + sqrt(x*x-1) ] 19 * acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else 20 * acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1. 54 return log(2.0*x-one/(x+sqrt(t-one))); 57 return log1p(t+sqrt(2.0*t+t*t));
|
H A D | s_asinh.c | 16 * asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ] 20 * := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else 21 * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2))) 49 w = log(2.0*t+one/(sqrt(x*x+one)+t)); 52 w =log1p(fabs(x)+t/(one+sqrt(one+t)));
|
H A D | e_sqrt.c | 13 /* sqrt(x) 14 * Return correctly rounded sqrt. 16 * | Use the hardware sqrt if you have one | 23 * sqrt(x) = 2^k * sqrt(y) 25 * Let q = sqrt(y) truncated to i bit after binary point (q = 1), 74 * sqrt(+-0) = +-0 ... exact 75 * sqrt(inf) = inf 76 * sqrt(-ve) = NaN ... with invalid signal 77 * sqrt(Na 91 sqrt(double x) function 186 DEF_STD(sqrt); variable 187 LDBL_MAYBE_CLONE(sqrt); variable [all...] |
H A D | e_acos.c | 20 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2))) 21 * = 2asin(sqrt((1-x)/2)) 22 * = 2s + 2s*z*R(z) ...z=(1-x)/2, s=sqrt(z) 25 * for f so that f+c ~ sqrt(z). 27 * acos(x) = pi - 2asin(sqrt((1-|x|)/2)) 28 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z) 34 * Function needed: sqrt 85 s = sqrt(z); 91 s = sqrt(z);
|
H A D | e_hypot.c | 17 * has error less than sqrt(2)/2 ulp, than 18 * sqrt(z) has error less than 1 ulp (exercise). 20 * So, compute sqrt(x*x+y*y) with some care as 41 * hypot(x,y) returns sqrt(x^2+y^2) with error less 104 w = sqrt(t1*t1-(b*(-b)-t2*(a+t1))); 113 w = sqrt(t1*yy1-(w*(-w)-(t1*y2+t2*b)));
|
/openbsd-current/gnu/usr.bin/perl/t/re/ |
H A D | reg_eval.t | 37 /^(\d+)(?(?{my $sqrt = sprintf "%.0f", sqrt($^N); $sqrt**2==$^N })|(?!))$/
|
/openbsd-current/lib/libcrypto/bn/ |
H A D | bn_mod_sqrt.c | 565 * Choose the smaller of sqrt and |p| - sqrt. 569 bn_mod_sqrt_normalize(BIGNUM *sqrt, const BIGNUM *p, BN_CTX *ctx) argument 579 if (!BN_lshift1(x, sqrt)) 583 if (!BN_usub(sqrt, p, sqrt)) 631 BIGNUM *a_mod_p, *sqrt; local 641 if ((sqrt = BN_CTX_get(ctx)) == NULL) 647 if (!bn_mod_sqrt_trivial_cases(&done, sqrt, a_mod_p, p, ctx)) 670 if (!bn_mod_sqrt_p_is_3_mod_4(sqrt, a_mod_ [all...] |
/openbsd-current/gnu/lib/libstdc++/libstdc++/libmath/ |
H A D | stubs.c | 126 return s * sqrt(x * x + y * y); 233 return (float) sqrt(x); 241 return sqrt((double) x);
|
/openbsd-current/gnu/gcc/libstdc++-v3/libmath/ |
H A D | stubs.c | 245 return (float) sqrt(x); 253 return sqrt((double) x); 279 return s * sqrt(x * x + y * y);
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
H A D | valarray_name_lookup.cc | 86 Number sqrt(Number); 118 v = sqrt(u);
|