/third_party/musl/libc-test/src/math/gen/ |
D | mplibm.c | 3 static int mpf1(struct t *s, float (*f)(float)) in mpf1() 12 static int mpf2(struct t *s, float (*f)(float,float)) in mpf2() 21 static int mpd1(struct t *s, double (*f)(double)) in mpd1() 30 static int mpd2(struct t *s, double (*f)(double, double)) in mpd2() 39 static int mpl1(struct t *s, long double (*f)(long double)) in mpl1() 48 static int mpl2(struct t *s, long double (*f)(long double, long double)) in mpl2() 58 int mpsinpi(struct t *t) { return mpd1(t, sinpi); } in mpsinpi() argument 61 #define OP(n,op,t) static t n(t x, t y) { t z = x op y; return z; } argument 71 int mpadd(struct t *t) { return mpd2(t, add); } in mpadd() argument 72 int mpaddf(struct t *t) { return mpf2(t, addf); } in mpaddf() argument [all …]
|
D | mp.c | 45 static int adjust_round(mpfr_t y, mpfr_t x, int t, int r) in adjust_round() argument 53 if (yp >= xp || r != MPFR_RNDN || t == 0 || !mpfr_number_p(x) || mpfr_zero_p(x)) { in adjust_round() 55 return t2 ? t2 : t; in adjust_round() 62 return t2 ? t2 : t; in adjust_round() 64 if (t > 0) in adjust_round() 71 static int adjust(mpfr_t mr, mpfr_t my, int t, int r, int type) in adjust() argument 76 t = adjust_round(mr, my, t, r); in adjust() 82 t = mpfr_check_range(mr, t, r); in adjust() 83 t = mpfr_subnormalize(mr, t, r); in adjust() 95 return t; in adjust() [all …]
|
/third_party/boost/boost/math/tools/detail/ |
D | rational_horner3_20.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_18.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_19.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_15.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_17.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_16.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_14.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_13.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_12.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | rational_horner3_11.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | polynomial_horner3_20.hpp | 48 V t[2]; in evaluate_polynomial_c_imp() local 49 t[0] = static_cast<V>(a[4] * x2 + a[2]); in evaluate_polynomial_c_imp() 50 t[1] = static_cast<V>(a[3] * x2 + a[1]); in evaluate_polynomial_c_imp() 51 t[0] *= x2; in evaluate_polynomial_c_imp() 52 t[0] += static_cast<V>(a[0]); in evaluate_polynomial_c_imp() 53 t[1] *= x; in evaluate_polynomial_c_imp() 54 return t[0] + t[1]; in evaluate_polynomial_c_imp() 61 V t[2]; in evaluate_polynomial_c_imp() local 62 t[0] = a[5] * x2 + a[3]; in evaluate_polynomial_c_imp() 63 t[1] = a[4] * x2 + a[2]; in evaluate_polynomial_c_imp() [all …]
|
D | polynomial_horner3_19.hpp | 48 V t[2]; in evaluate_polynomial_c_imp() local 49 t[0] = static_cast<V>(a[4] * x2 + a[2]); in evaluate_polynomial_c_imp() 50 t[1] = static_cast<V>(a[3] * x2 + a[1]); in evaluate_polynomial_c_imp() 51 t[0] *= x2; in evaluate_polynomial_c_imp() 52 t[0] += static_cast<V>(a[0]); in evaluate_polynomial_c_imp() 53 t[1] *= x; in evaluate_polynomial_c_imp() 54 return t[0] + t[1]; in evaluate_polynomial_c_imp() 61 V t[2]; in evaluate_polynomial_c_imp() local 62 t[0] = a[5] * x2 + a[3]; in evaluate_polynomial_c_imp() 63 t[1] = a[4] * x2 + a[2]; in evaluate_polynomial_c_imp() [all …]
|
D | rational_horner3_10.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | polynomial_horner3_18.hpp | 48 V t[2]; in evaluate_polynomial_c_imp() local 49 t[0] = static_cast<V>(a[4] * x2 + a[2]); in evaluate_polynomial_c_imp() 50 t[1] = static_cast<V>(a[3] * x2 + a[1]); in evaluate_polynomial_c_imp() 51 t[0] *= x2; in evaluate_polynomial_c_imp() 52 t[0] += static_cast<V>(a[0]); in evaluate_polynomial_c_imp() 53 t[1] *= x; in evaluate_polynomial_c_imp() 54 return t[0] + t[1]; in evaluate_polynomial_c_imp() 61 V t[2]; in evaluate_polynomial_c_imp() local 62 t[0] = a[5] * x2 + a[3]; in evaluate_polynomial_c_imp() 63 t[1] = a[4] * x2 + a[2]; in evaluate_polynomial_c_imp() [all …]
|
D | polynomial_horner3_17.hpp | 48 V t[2]; in evaluate_polynomial_c_imp() local 49 t[0] = static_cast<V>(a[4] * x2 + a[2]); in evaluate_polynomial_c_imp() 50 t[1] = static_cast<V>(a[3] * x2 + a[1]); in evaluate_polynomial_c_imp() 51 t[0] *= x2; in evaluate_polynomial_c_imp() 52 t[0] += static_cast<V>(a[0]); in evaluate_polynomial_c_imp() 53 t[1] *= x; in evaluate_polynomial_c_imp() 54 return t[0] + t[1]; in evaluate_polynomial_c_imp() 61 V t[2]; in evaluate_polynomial_c_imp() local 62 t[0] = a[5] * x2 + a[3]; in evaluate_polynomial_c_imp() 63 t[1] = a[4] * x2 + a[2]; in evaluate_polynomial_c_imp() [all …]
|
D | rational_horner3_9.hpp | 50 V t[4]; in evaluate_rational_c_imp() local 51 t[0] = a[4] * x2 + a[2]; in evaluate_rational_c_imp() 52 t[1] = a[3] * x2 + a[1]; in evaluate_rational_c_imp() 53 t[2] = b[4] * x2 + b[2]; in evaluate_rational_c_imp() 54 t[3] = b[3] * x2 + b[1]; in evaluate_rational_c_imp() 55 t[0] *= x2; in evaluate_rational_c_imp() 56 t[2] *= x2; in evaluate_rational_c_imp() 57 t[0] += static_cast<V>(a[0]); in evaluate_rational_c_imp() 58 t[2] += static_cast<V>(b[0]); in evaluate_rational_c_imp() 59 t[1] *= x; in evaluate_rational_c_imp() [all …]
|
D | polynomial_horner3_16.hpp | 48 V t[2]; in evaluate_polynomial_c_imp() local 49 t[0] = static_cast<V>(a[4] * x2 + a[2]); in evaluate_polynomial_c_imp() 50 t[1] = static_cast<V>(a[3] * x2 + a[1]); in evaluate_polynomial_c_imp() 51 t[0] *= x2; in evaluate_polynomial_c_imp() 52 t[0] += static_cast<V>(a[0]); in evaluate_polynomial_c_imp() 53 t[1] *= x; in evaluate_polynomial_c_imp() 54 return t[0] + t[1]; in evaluate_polynomial_c_imp() 61 V t[2]; in evaluate_polynomial_c_imp() local 62 t[0] = a[5] * x2 + a[3]; in evaluate_polynomial_c_imp() 63 t[1] = a[4] * x2 + a[2]; in evaluate_polynomial_c_imp() [all …]
|
/third_party/boost/tools/build/test/ |
D | testing.py | 14 t = BoostBuild.Tester(use_test_config=False) 16 t.write("pass.cpp", "int main() {}\n") 17 t.write("fail-compile.cpp", "#error expected to fail\n") 18 t.write("fail-link.cpp", "int f();\nint main() { return f(); }\n") 19 t.write("fail-run.cpp", "int main() { return 1; }\n") 21 t.write("Jamroot.jam", """import testing ; 28 t.run_build_system(status=1) 29 t.expect_addition("bin/pass.test/$toolset/debug*/pass.obj") 30 t.expect_addition("bin/pass.test/$toolset/debug*/pass.exe") 31 t.expect_addition("bin/pass.test/$toolset/debug*/pass.output") [all …]
|
D | link.py | 12 def ignore_config(t): argument 15 t.ignore("bin/symlink/test-hardlink") 16 t.ignore("bin/test-hardlink-source") 17 t.ignore("bin/test-symlink") 18 t.ignore("bin/test-symlink-source") 22 t = BoostBuild.Tester() 23 t.write("jamroot.jam", """\ 28 t.write("src/dir1/include/file1.h", "file1") 30 t.run_build_system() 32 t.expect_addition("include/file1.h") [all …]
|
D | configure.py | 13 t = BoostBuild.Tester(use_test_config=0) 14 t.write("Jamroot", """ 24 t.write("pass.cpp", "void f() {}\n") 25 t.write("fail.cpp", "#error fail.cpp\n") 26 t.write("foo.cpp", """ 34 t.run_build_system() 35 t.expect_output_lines([ 38 t.expect_addition("bin/$toolset/debug*/pass.obj") 39 t.expect_addition("bin/$toolset/debug*/foo.obj") 40 t.expect_addition("bin/$toolset/debug*/bar.obj") [all …]
|
/third_party/boost/libs/multiprecision/test/concepts/ |
D | number_concept_check.cpp | 69 T t = 1; in test_extra() local 70 t = abs(t); in test_extra() 71 t = abs(t * t); in test_extra() 73 t = fabs(t); in test_extra() 74 t = fabs(t * t); in test_extra() 76 t = sqrt(t); in test_extra() 77 t = sqrt(t * t); in test_extra() 79 t = floor(t); in test_extra() 80 t = floor(t * t); in test_extra() 82 t = ceil(t); in test_extra() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | arithmeticOperatorWithTypeParameter.js | 3 function foo<T>(t: T) { 10 var r1a1 = a * t; 11 var r1a2 = a / t; 12 var r1a3 = a % t; 13 var r1a4 = a - t; 14 var r1a5 = a << t; 15 var r1a6 = a >> t; 16 var r1a7 = a >>> t; 17 var r1a8 = a & t; 18 var r1a9 = a ^ t; [all …]
|
D | comparisonOperatorWithNoRelationshipTypeParameter.js | 12 function foo<T, U>(t: T, u: U) { 13 var r1 = t < u; 14 var r2 = t > u; 15 var r3 = t <= u; 16 var r4 = t >= u; 17 var r5 = t == u; 18 var r6 = t != u; 19 var r7 = t === u; 20 var r8 = t !== u; 23 var r1a1 = t < a; [all …]
|