/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/x86_64/math_tables/ |
H A D | mth_acosdefs.h | 18 MTHINTRIN(acos , ss , em64t , __mth_i_acos , __mth_i_acos , __mth_i_acos … 19 MTHINTRIN(acos , ds , em64t , __mth_i_dacos , __mth_i_dacos , __mth_i_dacos … 20 MTHINTRIN(acos , sv4 , em64t , __fvsacos , __fvsacos , __gs_acos_4_p … 21 MTHINTRIN(acos , dv2 , em64t , __fvdacos , __fvdacos , __gd_acos_2_p … 22 MTHINTRIN(acos , sv4m , em64t , __fs_acos_4_mn , __rs_acos_4_mn , __ps_acos_4_mn… 23 MTHINTRIN(acos , dv2m , em64t , __fd_acos_2_mn , __rd_acos_2_mn , __pd_acos_2_mn… 25 MTHINTRIN(acos , ss , sse4 , __mth_i_acos , __mth_i_acos , __mth_i_acos … 26 MTHINTRIN(acos , ds , sse4 , __mth_i_dacos , __mth_i_dacos , __mth_i_dacos … 27 MTHINTRIN(acos , sv4 , sse4 , __fvsacos , __fvsacos , __gs_acos_4_p … 28 MTHINTRIN(acos , dv2 , sse4 , __fvdacos , __fvdacos , __gd_acos_2_p … [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/m2sci/tests/unit_tests/mfiles/ |
H A D | ACOS.m | 1 % Test file for function acos() 5 res1 = acos([]); 7 res2 = acos(m2sciUnknownType([])); 9 res3 = acos(m2sciUnknownDims([])); 11 res4 = acos([1]); 13 res5 = acos([1,2,3]); 15 res6 = acos([1;2;3]); 17 res7 = acos([1,2,3;4,5,6]); 35 res16 = acos([i]); 37 res17 = acos([i,2i,3i]); [all …]
|
/dports/math/stan/stan-2.28.2/src/test/test-models/good/function-signatures/math/matrix/ |
H A D | acos.stan | 40 trans_x3y = acos(x3y); 41 trans_x4y = acos(x4y); 42 trans_x5y = acos(x5y); 43 trans_x2z = acos(x1z); 44 trans_x2z = acos(x2z); 45 trans_x3z = acos(x3z); 46 trans_x4z = acos(x4z); 47 trans_x5z = acos(x5z); 48 trans_x2w = acos(x1w); 49 trans_x2w = acos(x2w); [all …]
|
/dports/devel/gcem/gcem-1.13.1/tests/ |
H A D | acos.cpp | 32 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, 0.0L); in main() 33 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, 0.001L); in main() 34 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, 0.5L); in main() 35 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos,-0.5L); in main() 36 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, 0.7568025L); in main() 37 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, 1.0L); in main() 38 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, 5.0L); in main() 40 GCEM_TEST_COMPARE_VALS(gcem::acos,std::acos, TEST_NAN); in main()
|
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/math/ |
H A D | acos_spec.rb | 11 Math.acos(1).should be_kind_of(Float ) 15 Math.acos(1).should be_close(0.0, TOLERANCE) 16 Math.acos(0).should be_close(1.5707963267949, TOLERANCE) 17 Math.acos(-1).should be_close(Math::PI,TOLERANCE) 18 Math.acos(0.25).should be_close(1.31811607165282, TOLERANCE) 19 Math.acos(0.50).should be_close(1.0471975511966 , TOLERANCE) 20 Math.acos(0.75).should be_close(0.722734247813416, TOLERANCE) 32 lambda { Math.acos("test") }.should raise_error(TypeError) 36 Math.acos(nan_value).nan?.should be_true 44 lambda { Math.acos(nil) }.should raise_error(TypeError) [all …]
|
/dports/math/octave-forge-interval/interval-3.2.0/inst/@infsup/ |
H A D | acos.m | 18 ## @defmethod {@@infsup} acos (@var{X}) 26 ## acos (infsup (.5)) 37 function x = acos (x) function 49 l = crlibm_function ('acos', -inf, x.sup); 50 u = crlibm_function ('acos', +inf, x.inf); 67 %!assert (acos (infsup ()) == infsup ()); 74 %!assert (acos (infsup (1)) == infsup (0)); 92 %! x = acos (infsup (1)); 105 %! acos (testcase.in{1}), ... 114 %! assert (isequaln (acos (in1), out)); [all …]
|
/dports/math/libmesh/libmesh-1.6.2/contrib/fparser/tests/10optimizer_bytecode/ |
H A D | cmp_acos | 4 F=1*(acos(x)=acos(0.75)) + \ 5 2*(acos(x)<acos(0.75)) + \ 6 4*(acos(x)<=acos(0.75)) + \ 7 8*(acos(x)>acos(0.75)) + \ 8 16*(acos(x)>=acos(0.75)) + \ 9 32*(acos(x)!=acos(0.75))
|
/dports/lang/php73/php-7.3.33/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 8 * proto float acos(float number) 18 echo "acos .5 = "; 19 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 28 echo "acos 0.86602540378444 = "; 39 echo "acos 1.0 = "; 50 echo "acos 0.0 = "; 62 acos .5 = float(%f) 64 acos 0.86602540378444 = float(%f) 66 acos 1.0 = float(%f) [all …]
|
/dports/lang/php74/php-7.4.27/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 8 * proto float acos(float number) 18 echo "acos .5 = "; 19 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 28 echo "acos 0.86602540378444 = "; 39 echo "acos 1.0 = "; 50 echo "acos 0.0 = "; 62 acos .5 = float(%f) 64 acos 0.86602540378444 = float(%f) 66 acos 1.0 = float(%f) [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 8 * proto float acos(float number) 18 echo "acos .5 = "; 19 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 28 echo "acos 0.86602540378444 = "; 39 echo "acos 1.0 = "; 50 echo "acos 0.0 = "; 62 acos .5 = float(%f) 64 acos 0.86602540378444 = float(%f) 66 acos 1.0 = float(%f) [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 8 * proto float acos(float number) 18 echo "acos .5 = "; 19 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 28 echo "acos 0.86602540378444 = "; 39 echo "acos 1.0 = "; 50 echo "acos 0.0 = "; 62 acos .5 = float(%f) 64 acos 0.86602540378444 = float(%f) 66 acos 1.0 = float(%f) [all …]
|
/dports/lang/php80/php-8.0.15/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 17 echo "acos .5 = "; 18 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 27 echo "acos 0.86602540378444 = "; 38 echo "acos 1.0 = "; 39 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI); 49 echo "acos 0.0 = "; 61 acos .5 = float(%f) 63 acos 0.86602540378444 = float(%f) 65 acos 1.0 = float(%f) [all …]
|
/dports/lang/php81/php-8.1.1/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 17 echo "acos .5 = "; 18 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 27 echo "acos 0.86602540378444 = "; 38 echo "acos 1.0 = "; 39 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI); 49 echo "acos 0.0 = "; 61 acos .5 = float(%f) 63 acos 0.86602540378444 = float(%f) 65 acos 1.0 = float(%f) [all …]
|
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 17 echo "acos .5 = "; 18 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 27 echo "acos 0.86602540378444 = "; 38 echo "acos 1.0 = "; 39 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI); 49 echo "acos 0.0 = "; 61 acos .5 = float(%f) 63 acos 0.86602540378444 = float(%f) 65 acos 1.0 = float(%f) [all …]
|
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 2 Test return type and value for expected input acos() 17 echo "acos .5 = "; 18 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI ); 27 echo "acos 0.86602540378444 = "; 38 echo "acos 1.0 = "; 39 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI); 49 echo "acos 0.0 = "; 61 acos .5 = float(%f) 63 acos 0.86602540378444 = float(%f) 65 acos 1.0 = float(%f) [all …]
|
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/src/ |
H A D | acos.c | 27 mpfr_acos (mpfr_ptr acos, mpfr_srcptr x, mpfr_rnd_t rnd_mode) in mpfr_acos() argument 39 mpfr_get_prec(acos), mpfr_log_prec, acos, inexact)); in mpfr_acos() 46 MPFR_SET_NAN (acos); in mpfr_acos() 54 inexact = mpfr_const_pi (acos, rnd_mode); in mpfr_acos() 55 mpfr_div_2ui (acos, acos, 1, rnd_mode); /* exact */ in mpfr_acos() 73 MPFR_SET_NAN(acos); in mpfr_acos() 79 return mpfr_set_ui (acos, 0, rnd_mode); in mpfr_acos() 81 return mpfr_const_pi (acos, rnd_mode); in mpfr_acos() 95 prec = MPFR_PREC (acos); in mpfr_acos() 140 inexact = mpfr_set (acos, arcc, rnd_mode); in mpfr_acos() [all …]
|
/dports/math/heyoka/heyoka-0.16.0/test/ |
H A D | taylor_acos.cpp | 117 using std::acos; 148 using std::acos; in __anoncb8873330202() 176 REQUIRE(jet[2] == approximately(acos(fp_t{.5}))); in __anoncb8873330202() 423 taylor_add_jet<fp_t>(s, "jet", {acos(y), acos(x)}, 1, 1, high_accuracy, compact_mode); in __anoncb8873330202() 436 REQUIRE(jet[2] == approximately(acos(jet[1]))); in __anoncb8873330202() 437 REQUIRE(jet[3] == approximately(acos(jet[0]))); in __anoncb8873330202() 443 taylor_add_jet<fp_t>(s, "jet", {acos(y), acos(x)}, 1, 2, high_accuracy, compact_mode); in __anoncb8873330202() 470 taylor_add_jet<fp_t>(s, "jet", {acos(y), acos(x)}, 2, 1, high_accuracy, compact_mode); in __anoncb8873330202() 492 taylor_add_jet<fp_t>(s, "jet", {acos(y), acos(x)}, 2, 2, high_accuracy, compact_mode); in __anoncb8873330202() 525 taylor_add_jet<fp_t>(s, "jet", {acos(y), acos(x)}, 3, 3, high_accuracy, compact_mode); in __anoncb8873330202() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/packages/regressions/ |
H A D | 2012-07-25-int-invtrig.rlg | 16 int(acos(x),x); 20 acos(x)*x - sqrt( - x + 1) 37 int(acos(x-1),x); 41 acos(x - 1)*x - acos(x - 1) - sqrt( - x + 2*x) 44 int(acos(x)*x,x); 62 int(x^2*acos(3*x),x); 99 int(acos(3*x)/x^3,x); 103 - acos(3*x) + 3*sqrt( - 9*x + 1)*x 132 int(x*acos(x-1),x); 156 int(x*acos(3*x-2),x); [all …]
|
/dports/math/reduce/Reduce-svn5758-src/xmpl/ |
H A D | 2012-07-25-int-invtrig.rlg | 16 int(acos(x),x); 20 acos(x)*x - sqrt( - x + 1) 37 int(acos(x-1),x); 41 acos(x - 1)*x - acos(x - 1) - sqrt( - x + 2*x) 44 int(acos(x)*x,x); 62 int(x^2*acos(3*x),x); 99 int(acos(3*x)/x^3,x); 103 - acos(3*x) + 3*sqrt( - 9*x + 1)*x 132 int(x*acos(x-1),x); 156 int(x*acos(3*x-2),x); [all …]
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/elementary_functions/tests/unit_tests/ |
H A D | acos.dia.ref | 13 assert_checkfalse(execstr("acos()" ,"errcatch") == 0); 21 y = acos(x); 23 assert_checkequal(acos(1),0); 26 assert_checkequal(acos(%nan),%nan); 27 assert_checkequal(acos(-%nan),%nan); 30 assert_checkequal(real(acos(%inf)),0); 31 assert_checkequal(imag(acos(%inf)),%inf); 32 assert_checkequal(real(acos(-%inf)),%pi); 33 assert_checkequal(imag(acos(-%inf)),-%inf); 36 // acos(-x) = asin(x) + pi/2 [all …]
|
H A D | acos.tst | 17 assert_checkfalse(execstr("acos()" ,"errcatch") == 0); 29 y = acos(x); 32 assert_checkequal(acos(1),0); 38 assert_checkequal(acos(%nan),%nan); 39 assert_checkequal(acos(-%nan),%nan); 45 assert_checkequal(real(acos(%inf)),0); 46 assert_checkequal(imag(acos(%inf)),%inf); 48 assert_checkequal(real(acos(-%inf)),%pi); 49 assert_checkequal(imag(acos(-%inf)),-%inf); 55 // acos(-x) = asin(x) + pi/2 [all …]
|
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/t/sass-spec/spec/core_functions/math/ |
H A D | acos.hrx | 10 a {b: math.acos(-2)} 21 a {b: math.acos(-0.5)} 32 a {b: math.acos(0.5)} 43 a {b: math.acos(1)} 65 a {b: math.acos(2)} 76 a {b: math.acos("0")} 81 2 | a {b: math.acos("0")} 90 a {b: math.acos(1px)} 104 a {b: math.acos()} 109 2 | a {b: math.acos()} [all …]
|
/dports/lang/gambit-c/gambit-4.9.3/tests/unit-tests/03-number/ |
H A D | acos.scm | 5 (check-eqv? (acos 1) 0) 9 (check-= (acos 2) (test-acos 2)) 10 (check-= (acos 2+0.i) (test-acos 2+0.i)) 11 (check-= (acos 2-0.i) (test-acos 2-0.i)) 12 (check-= (acos -2) (test-acos -2)) 13 (check-= (acos -2+0.i) (test-acos -2+0.i)) 14 (check-= (acos -2-0.i) (test-acos -2-0.i)) 22 (check-= (acos -1234000000.-0.i) (test-acos -1234000000.-0.i)) 26 (check-tail-exn type-exception? (lambda () (acos 'a)))
|
/dports/math/octave-forge-symbolic/symbolic-2.9.0/inst/@sym/ |
H A D | acos.m | 21 %% @defmethod @@sym acos (@var{x}) 22 %% Symbolic acos function. 28 %% y = acos (x) 29 %% @result{} y = (sym) acos(x) 39 function y = acos(x) function 55 %! f1 = acos(x); 56 %! f2 = acos(d); 62 %! f1 = acos(A); 63 %! f2 = acos(D); 69 %! A = acos (d); [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/unit/base/ |
H A D | acos.edp | 3 cout << functionDEFINITION << "acos" << endl; 10 real am1 = acos(-1.); 16 real a0 = acos(0.); 22 real ap1 = acos(1.); 28 real ap1eps = acos(1. + eps); 34 real am1eps = acos(-1. - eps); 46 B = acos(A); 50 test(B[i] == acos(A[i])); 60 BB = acos(AA); 65 test(BB(i,j) == acos(AA(i,j)));
|