Home
last modified time | relevance | path

Searched refs:asin (Results 1 – 25 of 6333) sorted by relevance

12345678910>>...254

/dports/math/libpgmath/flang-d07daf3/runtime/libpgmath/lib/x86_64/math_tables/
H A Dmth_asindefs.h18 MTHINTRIN(asin , ss , em64t , __mth_i_asin , __mth_i_asin , __mth_i_asin …
19 MTHINTRIN(asin , ds , em64t , __mth_i_dasin , __mth_i_dasin , __mth_i_dasin …
20 MTHINTRIN(asin , sv4 , em64t , __fvsasin , __fvsasin , __gs_asin_4_p …
21 MTHINTRIN(asin , dv2 , em64t , __fvdasin , __fvdasin , __gd_asin_2_p …
22 MTHINTRIN(asin , sv4m , em64t , __fs_asin_4_mn , __rs_asin_4_mn , __ps_asin_4_mn…
23 MTHINTRIN(asin , dv2m , em64t , __fd_asin_2_mn , __rd_asin_2_mn , __pd_asin_2_mn…
25 MTHINTRIN(asin , ss , sse4 , __mth_i_asin , __mth_i_asin , __mth_i_asin …
26 MTHINTRIN(asin , ds , sse4 , __mth_i_dasin , __mth_i_dasin , __mth_i_dasin …
27 MTHINTRIN(asin , sv4 , sse4 , __fvsasin , __fvsasin , __gs_asin_4_p …
28 MTHINTRIN(asin , dv2 , sse4 , __fvdasin , __fvdasin , __gd_asin_2_p …
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/m2sci/tests/unit_tests/mfiles/
H A DASIN.m1 % Test file for function asin()
5 res1 = asin([]);
7 res2 = asin(m2sciUnknownType([]));
9 res3 = asin(m2sciUnknownDims([]));
11 res4 = asin([1]);
13 res5 = asin([1,2,3]);
15 res6 = asin([1;2;3]);
17 res7 = asin([1,2,3;4,5,6]);
35 res16 = asin([i]);
37 res17 = asin([i,2i,3i]);
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/rubi_tests/tests/
H A Dtest_inverse_sine.py138 …(rubi_integrate(asin(a*x)/x, x), x, -I*PolyLog(S(2), exp(S(2)*I*asin(a*x)))/S(2) + log(-exp(S(2)*I…
149asin(a*x)**S(2)/x, x), x, -I*PolyLog(S(2), exp(S(2)*I*asin(a*x)))*asin(a*x) + PolyLog(S(3), exp(S(…
150asin(a*x)**S(2)/x**S(2), x), x, S(2)*I*a*PolyLog(S(2), -exp(I*asin(a*x))) - S(2)*I*a*PolyLog(S(2),…
161asin(a*x)**S(3)/x, x), x, -S(3)*I*PolyLog(S(2), exp(S(2)*I*asin(a*x)))*asin(a*x)**S(2)/S(2) + S(3)…
162asin(a*x)**S(3)/x**S(2), x), x, S(6)*I*a*PolyLog(S(2), -exp(I*asin(a*x)))*asin(a*x) - S(6)*I*a*Pol…
174asin(a*x)**S(4)/x, x), x, -S(2)*I*PolyLog(S(2), exp(S(2)*I*asin(a*x)))*asin(a*x)**S(3) + S(3)*Poly…
175asin(a*x)**S(4)/x**S(2), x), x, S(12)*I*a*PolyLog(S(2), -exp(I*asin(a*x)))*asin(a*x)**S(2) - S(12)…
177asin(a*x)**S(4)/x**S(4), x), x, S(2)*I*a**S(3)*PolyLog(S(2), -exp(I*asin(a*x)))*asin(a*x)**S(2) + …
269asin(a*x)**n, x), x, S(3)**(-n + S(-1))*I*(-I*asin(a*x))**(-n)*Gamma(n + S(1), -S(3)*I*asin(a*x))*
270asin(a*x)**n, x), x, -S(2)**(-n + S(-3))*(-I*asin(a*x))**(-n)*Gamma(n + S(1), -S(2)*I*asin(a*x))*a…
[all …]
/dports/math/stan/stan-2.28.2/src/test/test-models/good/function-signatures/math/matrix/
H A Dasin.stan40 trans_x3y = asin(x3y);
41 trans_x4y = asin(x4y);
42 trans_x5y = asin(x5y);
43 trans_x2z = asin(x1z);
44 trans_x2z = asin(x2z);
45 trans_x3z = asin(x3z);
46 trans_x4z = asin(x4z);
47 trans_x5z = asin(x5z);
48 trans_x2w = asin(x1w);
49 trans_x2w = asin(x2w);
[all …]
/dports/devel/gcem/gcem-1.13.1/tests/
H A Dasin.cpp32 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,0.0L); in main()
33 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,0.001L); in main()
34 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,0.5L); in main()
35 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,-0.5L); in main()
36 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,0.7568025L); in main()
37 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,1.0L); in main()
38 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,5.0L); in main()
40 GCEM_TEST_COMPARE_VALS(gcem::asin,std::asin,TEST_NAN); in main()
/dports/math/kalker/gmp-mpfr-sys-21966f4bfb56c87d407eb14c72e92ef4e55856aa/mpfr-4.1.0-p13-c/src/
H A Dasin.c37 ("asin[%Pu]=%.*Rg inexact=%d", mpfr_get_prec (asin), mpfr_log_prec, asin, in mpfr_asin()
45 MPFR_SET_NAN (asin); in mpfr_asin()
51 MPFR_SET_ZERO (asin); in mpfr_asin()
52 MPFR_SET_SAME_SIGN (asin, x); in mpfr_asin()
76 MPFR_SET_NAN (asin); in mpfr_asin()
82 inexact = mpfr_const_pi (asin, rnd_mode); in mpfr_asin()
86 MPFR_CHANGE_SIGN (asin); in mpfr_asin()
88 mpfr_div_2ui (asin, asin, 1, rnd_mode); in mpfr_asin()
100 prec = MPFR_PREC (asin) + 10 + xp_exp; in mpfr_asin()
118 inexact = mpfr_set (asin, xp, rnd_mode); in mpfr_asin()
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/fparser/tests/10optimizer_bytecode/
H A Dcmp_asin4 F=1*(asin(x)=asin(0.75)) + \
5 2*(asin(x)<asin(0.75)) + \
6 4*(asin(x)<=asin(0.75)) + \
7 8*(asin(x)>asin(0.75)) + \
8 16*(asin(x)>=asin(0.75)) + \
9 32*(asin(x)!=asin(0.75))
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/math/
H A Dasin_spec.rb7 Math.asin(1).should be_kind_of(Float)
11 Math.asin(1).should be_close(Math::PI/2, TOLERANCE)
12 Math.asin(0).should be_close(0.0, TOLERANCE)
13 Math.asin(-1).should be_close(-Math::PI/2, TOLERANCE)
14 Math.asin(0.25).should be_close(0.252680255142079, TOLERANCE)
15 Math.asin(0.50).should be_close(0.523598775598299, TOLERANCE)
16 Math.asin(0.75).should be_close(0.8480620789814816,TOLERANCE)
20 lambda { Math.asin(1.0001) }.should raise_error( Math::DomainError)
28 lambda { Math.asin("test") }.should raise_error(TypeError)
32 Math.asin(nan_value).nan?.should be_true
[all …]
/dports/lang/php73/php-7.3.33/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
8 * proto float asin(float number)
18 echo "asin .5 = ";
19 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
28 echo "asin 0.86602540378444 = ";
38 echo "asin 1.0 = ";
49 echo "asin 0.0 = ";
61 asin .5 = float(%f)
63 asin 0.86602540378444 = float(%f)
65 asin 1.0 = float(%f)
[all …]
/dports/lang/php74/php-7.4.27/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
8 * proto float asin(float number)
18 echo "asin .5 = ";
19 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
28 echo "asin 0.86602540378444 = ";
38 echo "asin 1.0 = ";
49 echo "asin 0.0 = ";
61 asin .5 = float(%f)
63 asin 0.86602540378444 = float(%f)
65 asin 1.0 = float(%f)
[all …]
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
8 * proto float asin(float number)
18 echo "asin .5 = ";
19 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
28 echo "asin 0.86602540378444 = ";
38 echo "asin 1.0 = ";
49 echo "asin 0.0 = ";
61 asin .5 = float(%f)
63 asin 0.86602540378444 = float(%f)
65 asin 1.0 = float(%f)
[all …]
/dports/www/mod_php74/php-7.4.27/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
8 * proto float asin(float number)
18 echo "asin .5 = ";
19 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
28 echo "asin 0.86602540378444 = ";
38 echo "asin 1.0 = ";
49 echo "asin 0.0 = ";
61 asin .5 = float(%f)
63 asin 0.86602540378444 = float(%f)
65 asin 1.0 = float(%f)
[all …]
/dports/math/scilab/scilab-6.1.1/scilab/modules/elementary_functions/tests/unit_tests/
H A Dasin.dia.ref13 assert_checkfalse(execstr("asin()", "errcatch") == 0);
14 assert_checkfalse(execstr("asin(1,2)", "errcatch") == 0);
21 y = asin(x);
25 assert_checktrue(isnan(asin(%nan)));
26 assert_checktrue(isnan(asin(-%nan)));
29 assert_checkequal(imag(asin(%inf)),-%inf);
30 assert_checkequal(imag(asin(-%inf)),%inf);
34 // asin(-x) = - asin(x)
35 assert_checkalmostequal(asin(-A), -asin(A));
36 // asin(x) = acos(-x) - pi/2
[all …]
H A Dasin.tst18 assert_checkfalse(execstr("asin()", "errcatch") == 0);
19 assert_checkfalse(execstr("asin(1,2)", "errcatch") == 0);
29 y = asin(x);
36 assert_checktrue(isnan(asin(%nan)));
37 assert_checktrue(isnan(asin(-%nan)));
43 assert_checkequal(imag(asin(%inf)),-%inf);
44 assert_checkequal(imag(asin(-%inf)),%inf);
52 // asin(-x) = - asin(x)
53 assert_checkalmostequal(asin(-A), -asin(A));
56 // asin(x) = acos(-x) - pi/2
[all …]
/dports/www/mod_php81/php-8.1.1/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
17 echo "asin .5 = ";
18 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
27 echo "asin 0.86602540378444 = ";
37 echo "asin 1.0 = ";
38 $asinv3 = 360.0 * asin(1.0) / (2.0 * M_PI );
48 echo "asin 0.0 = ";
60 asin .5 = float(%f)
62 asin 0.86602540378444 = float(%f)
64 asin 1.0 = float(%f)
[all …]
/dports/lang/php80/php-8.0.15/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
17 echo "asin .5 = ";
18 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
27 echo "asin 0.86602540378444 = ";
37 echo "asin 1.0 = ";
38 $asinv3 = 360.0 * asin(1.0) / (2.0 * M_PI );
48 echo "asin 0.0 = ";
60 asin .5 = float(%f)
62 asin 0.86602540378444 = float(%f)
64 asin 1.0 = float(%f)
[all …]
/dports/lang/php81/php-8.1.1/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
17 echo "asin .5 = ";
18 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
27 echo "asin 0.86602540378444 = ";
37 echo "asin 1.0 = ";
38 $asinv3 = 360.0 * asin(1.0) / (2.0 * M_PI );
48 echo "asin 0.0 = ";
60 asin .5 = float(%f)
62 asin 0.86602540378444 = float(%f)
64 asin 1.0 = float(%f)
[all …]
/dports/www/mod_php80/php-8.0.15/ext/standard/tests/math/
H A Dasin_basic.phpt2 Test return type and value for expected input asin()
17 echo "asin .5 = ";
18 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
27 echo "asin 0.86602540378444 = ";
37 echo "asin 1.0 = ";
38 $asinv3 = 360.0 * asin(1.0) / (2.0 * M_PI );
48 echo "asin 0.0 = ";
60 asin .5 = float(%f)
62 asin 0.86602540378444 = float(%f)
64 asin 1.0 = float(%f)
[all …]
/dports/dns/gdnsd2/gdnsd-2.4.3/libgdnsd/
H A Ddmn_net.c123 bool dmn_anysin_is_anyaddr(const dmn_anysin_t* asin) { in dmn_anysin_is_anyaddr() argument
124 dmn_assert(asin->sa.sa_family == AF_INET || asin->sa.sa_family == AF_INET6); in dmn_anysin_is_anyaddr()
126 if(asin->sa.sa_family == AF_INET6) { in dmn_anysin_is_anyaddr()
130 else if(asin->sin.sin_addr.s_addr == INADDR_ANY) { in dmn_anysin_is_anyaddr()
147 if(asin) { in dmn_anysin2str()
148 …name_err = getnameinfo(&asin->sa, asin->len, hostbuf, INET6_ADDRSTRLEN, servbuf, 6, NI_NUMERICHOST… in dmn_anysin2str()
172 const char* dmn_logf_anysin(const dmn_anysin_t* asin) { in dmn_logf_anysin() argument
174 int name_err = dmn_anysin2str(asin, tmpbuf); in dmn_logf_anysin()
189 if(asin) in dmn_anysin2str_noport()
190 … name_err = getnameinfo(&asin->sa, asin->len, buf, INET6_ADDRSTRLEN, NULL, 0, NI_NUMERICHOST); in dmn_anysin2str_noport()
[all …]
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/t/sass-spec/spec/core_functions/math/
H A Dasin.hrx10 a {b: math.asin(-2)}
21 a {b: math.asin(-0.5)}
32 a {b: math.asin(-0.0)}
54 a {b: math.asin(0)}
77 a {b: math.asin(0.5)}
88 a {b: math.asin(1)}
110 a {b: math.asin(2)}
121 a {b: math.asin("0")}
135 a {b: math.asin(1px)}
149 a {b: math.asin()}
[all …]
/dports/math/heyoka/heyoka-0.16.0/test/
H A Dtaylor_asin.cpp117 using std::asin;
148 using std::asin; in __anon8cd2d0f80202()
176 REQUIRE(jet[2] == approximately(asin(fp_t{.5}))); in __anon8cd2d0f80202()
423 taylor_add_jet<fp_t>(s, "jet", {asin(y), asin(x)}, 1, 1, high_accuracy, compact_mode); in __anon8cd2d0f80202()
436 REQUIRE(jet[2] == approximately(asin(jet[1]))); in __anon8cd2d0f80202()
437 REQUIRE(jet[3] == approximately(asin(jet[0]))); in __anon8cd2d0f80202()
443 taylor_add_jet<fp_t>(s, "jet", {asin(y), asin(x)}, 1, 2, high_accuracy, compact_mode); in __anon8cd2d0f80202()
470 taylor_add_jet<fp_t>(s, "jet", {asin(y), asin(x)}, 2, 1, high_accuracy, compact_mode); in __anon8cd2d0f80202()
492 taylor_add_jet<fp_t>(s, "jet", {asin(y), asin(x)}, 2, 2, high_accuracy, compact_mode); in __anon8cd2d0f80202()
525 taylor_add_jet<fp_t>(s, "jet", {asin(y), asin(x)}, 3, 3, high_accuracy, compact_mode); in __anon8cd2d0f80202()
[all …]
/dports/lang/gambit-c/gambit-4.9.3/tests/unit-tests/03-number/
H A Dasin.scm5 (check-eqv? (asin 0) 0)
9 (check-= (asin 2) (test-asin 2))
10 (check-= (asin 2+0.i) (test-asin 2+0.i))
11 (check-= (asin 2-0.i) (test-asin 2-0.i))
12 (check-= (asin -2) (test-asin -2))
13 (check-= (asin -2+0.i) (test-asin -2+0.i))
14 (check-= (asin -2-0.i) (test-asin -2-0.i))
18 (check-eqv? (asin 1e-30+1e-40i) 1e-30+1e-40i)
26 (check-= (asin -1234000000.-0.i) (test-asin -1234000000.-0.i))
30 (check-tail-exn type-exception? (lambda () (asin 'a)))
/dports/dns/gdnsd2/gdnsd-2.4.3/src/
H A Ddnsio_udp.c292 dmn_anysin_t asin; in mainloop() local
305 msg_hdr.msg_name = &asin.sa; in mainloop()
348 if(asin.sa.sa_family == AF_INET6) { in mainloop()
363 (asin.sa.sa_family == AF_INET && !asin.sin.sin_port) in mainloop()
364 || (asin.sa.sa_family == AF_INET6 && !asin.sin6.sin6_port) in mainloop()
373 asin.len = msg_hdr.msg_namelen; in mainloop()
411 dmn_anysin_t asin[width]; in mainloop_mmsg() local
468 if(unlikely((asin[i].sa.sa_family == AF_INET && !asin[i].sin.sin_port) in mainloop_mmsg()
469 || (asin[i].sa.sa_family == AF_INET6 && !asin[i].sin6.sin6_port))) { in mainloop_mmsg()
525 dmn_assert(asin->sa.sa_family == AF_INET6 || asin->sa.sa_family == AF_INET); in needs_cmsg()
[all …]
/dports/math/octave-forge-interval/interval-3.2.0/inst/@infsup/
H A Dasin.m18 ## @defmethod {@@infsup} asin (@var{X})
26 ## asin (infsup (.5))
37 function x = asin (x) function
49 l = crlibm_function ('asin', -inf, x.inf);
50 u = crlibm_function ('asin', +inf, x.sup);
52 l = mpfr_function_d ('asin', -inf, x.inf);
67 %!assert (asin (infsup ()) == infsup ());
74 %! x = asin (infsup (0));
87 %! asin (testcase.in{1}), ...
96 %! assert (isequaln (asin (in1), out));
[all …]
/dports/math/octave-forge-symbolic/symbolic-2.9.0/inst/@sym/
H A Dasin.m21 %% @defmethod @@sym asin (@var{x})
22 %% Symbolic asin function.
28 %% y = asin (x)
29 %% @result{} y = (sym) asin(x)
39 function y = asin(x) function
55 %! f1 = asin(x);
56 %! f2 = asin(d);
62 %! f1 = asin(A);
63 %! f2 = asin(D);
69 %! A = asin (d);
[all …]

12345678910>>...254