Home
last modified time | relevance | path

Searched full:math (Results 1 – 25 of 6809) sorted by relevance

12345678910>>...273

/third_party/boost/libs/math/test/compile_test/
Dinstantiate.hpp14 #include <boost/math/distributions.hpp>
16 #include <boost/math/special_functions.hpp>
17 #include <boost/math/concepts/distributions.hpp>
22 typedef boost::math::policies::policy<boost::math::policies::promote_float<false>, boost::math::pol…
55 using namespace boost::math; in instantiate()
56 using namespace boost::math::concepts; in instantiate()
169 boost::math::tgamma(v1); in instantiate()
170 boost::math::tgamma1pm1(v1); in instantiate()
171 boost::math::lgamma(v1); in instantiate()
172 boost::math::lgamma(v1, &i); in instantiate()
[all …]
Dtr1_incl_test.cpp6 // Basic sanity check that header <boost/math/tr1.hpp>
9 #include <boost/math/tr1.hpp>
20 check_result<float>(boost::math::tr1::assoc_laguerre(ui, ui, f)); in compile_and_link_test()
21 check_result<float>(boost::math::tr1::assoc_laguerref(ui, ui, f)); in compile_and_link_test()
22 check_result<double>(boost::math::tr1::assoc_laguerre(ui, ui, d)); in compile_and_link_test()
23 check_result<long double>(boost::math::tr1::assoc_laguerre(ui, ui, l)); in compile_and_link_test()
24 check_result<long double>(boost::math::tr1::assoc_laguerrel(ui, ui, l)); in compile_and_link_test()
25 check_result<double>(boost::math::tr1::assoc_laguerre(ui, ui, i)); in compile_and_link_test()
26 check_result<double>(boost::math::tr1::assoc_laguerre(ui, ui, ui)); in compile_and_link_test()
28 check_result<float>(boost::math::tr1::assoc_legendre(ui, ui, f)); in compile_and_link_test()
[all …]
/third_party/musl/porting/liteos_a/kernel/
Dmusl.gni54 "$MUSLPORTINGDIR/src/math/__cos.c",
55 "$MUSLPORTINGDIR/src/math/__cosdf.c",
56 "$MUSLPORTINGDIR/src/math/__cosl.c",
57 "$MUSLPORTINGDIR/src/math/__expo2.c",
58 "$MUSLPORTINGDIR/src/math/__expo2f.c",
59 "$MUSLPORTINGDIR/src/math/__fpclassify.c",
60 "$MUSLPORTINGDIR/src/math/__fpclassifyf.c",
61 "$MUSLPORTINGDIR/src/math/__fpclassifyl.c",
62 "$MUSLPORTINGDIR/src/math/__invtrigl.c",
63 "$MUSLPORTINGDIR/src/math/__math_divzero.c",
[all …]
/third_party/jerryscript/tests/jerry/
Dmath-trig.js19 assert (isNaN (Math.cos (NaN)));
20 assert ((Math.cos (+0.0)) == 1.0);
21 assert ((Math.cos (-0.0)) == 1.0);
22 assert (isNaN (Math.cos (Infinity)));
23 assert (isNaN (Math.cos (-Infinity)));
25 assert (Math.cos (Math.PI) > -1.0 * mod_p);
26 assert (Math.cos (Math.PI) < -1.0 * mod_m);
28 assert (Math.cos (Math.PI / 2) > -delta);
29 assert (Math.cos (Math.PI / 2) < +delta);
30 assert (Math.cos (-Math.PI / 2) > -delta);
[all …]
/third_party/boost/libs/math/test/
Dtest_error_handling.cpp10 // for example Error in function boost::math::test_function<float>(float, float, float): Domain Err…
18 namespace boost{ namespace math{ namespace policies{ namespace
66 #include <boost/math/tools/test.hpp>
67 #include <boost/math/concepts/real_concept.hpp>
68 #include <boost/math/policies/policy.hpp>
69 #include <boost/math/policies/error_handling.hpp>
70 #include <boost/math/tools/polynomial.hpp>
79 using namespace boost::math::policies;
121 std::string type_name = boost::math::policies::detail::name_of<T>(); in format_message_string()
138 const char* func = "boost::math::test_function<%1%>(%1%, %1%, %1%)"; in test_error()
[all …]
Dtest_classify.cpp10 #include <math.h>
12 #include <boost/math/concepts/real_concept.hpp>
13 #include <boost/math/special_functions/fpclassify.hpp>
23 const char* method_name(const boost::math::detail::native_tag&) in method_name()
28 const char* method_name(const boost::math::detail::generic_tag<true>&) in method_name()
33 const char* method_name(const boost::math::detail::generic_tag<false>&) in method_name()
38 const char* method_name(const boost::math::detail::ieee_tag&) in method_name()
43 const char* method_name(const boost::math::detail::ieee_copy_all_bits_tag&) in method_name()
48 const char* method_name(const boost::math::detail::ieee_copy_leading_bits_tag&) in method_name()
58 typedef typename boost::math::detail::fp_traits<T>::type traits; in test_classify()
[all …]
Dtest_sign.cpp8 #include <boost/math/concepts/real_concept.hpp> // for real_concept
9 #include <boost/math/special_functions/sign.hpp>
29 BOOST_CHECK_EQUAL((boost::math::signbit)(a), 0); in test_spots()
30 BOOST_CHECK_EQUAL((boost::math::sign)(a), 0); in test_spots()
31 BOOST_CHECK_EQUAL((boost::math::changesign)(b), RealType(-1)); in test_spots()
32 BOOST_CHECK_EQUAL((boost::math::changesign)(c), RealType(+1)); in test_spots()
33 BOOST_CHECK_EQUAL((boost::math::changesign)(a), RealType(0)); in test_spots()
36 BOOST_CHECK_EQUAL((boost::math::changesign)(b), in test_spots()
37 (boost::math::copysign)(b, (boost::math::signbit)(b) ? RealType(1.) : RealType(-1.) )); in test_spots()
40 BOOST_CHECK_EQUAL((boost::math::copysign)(b, a), RealType(1)); in test_spots()
[all …]
/third_party/boost/libs/math/reporting/accuracy/
Dbindings.hpp74 #include <math.h>
76 #define TEST_LIBRARY_NAME "<math.h>"
155 //#define ERF_INV_FUNCTION_TO_TEST boost::math::erf_inv
156 //#define ERFC_INV_FUNCTION_TO_TEST boost::math::erfc_inv
160 //#define TGAMMA1PM1_FUNCTION_TO_TEST boost::math::tgamma1pm1
164 //#define BESSEL_IP_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
165 //#define BESSEL_IPN_FUNCTION_TO_TEST boost::math::cyl_bessel_i_prime
169 //#define BESSEL_JP_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
170 //#define BESSEL_JPN_FUNCTION_TO_TEST boost::math::cyl_bessel_j_prime
171 //#define BESSEL_JPS_FUNCTION_TO_TEST boost::math::sph_bessel_prime
[all …]
/third_party/optimized-routines/math/
DDir.mk6 S := $(srcdir)/math
7 B := build/math
9 math-lib-srcs := $(wildcard $(S)/*.[cS])
10 math-test-srcs := \
15 math-test-host-srcs := $(wildcard $(S)/test/rtest/*.[cS])
17 math-includes := $(patsubst $(S)/%,build/%,$(wildcard $(S)/include/*.h))
19 math-libs := \
23 math-tools := \
30 math-host-tools := \
33 math-lib-objs := $(patsubst $(S)/%,$(B)/%.o,$(basename $(math-lib-srcs)))
[all …]
/third_party/typescript/tests/baselines/reference/
DexponentiationOperatorSyntaxError2.js73 Math.pow(delete --temp, 3);
74 Math.pow(delete ++temp, 3);
75 Math.pow(delete temp--, 3);
76 Math.pow(delete temp++, 3);
77 Math.pow(1, Math.pow(delete --temp, 3));
78 Math.pow(1, Math.pow(delete ++temp, 3));
79 Math.pow(1, Math.pow(delete temp--, 3));
80 Math.pow(1, Math.pow(delete temp++, 3));
81 Math.pow(typeof --temp, 3);
82 Math.pow(typeof temp--, 3);
[all …]
DstrictNullEmptyDestructuring.types25 let { } = Math.random() ? {} : null;
26 >Math.random() ? {} : null : {} | null
27 >Math.random() : number
28 >Math.random : () => number
29 >Math : Math
34 ({} = Math.random() ? {} : null);
35 >({} = Math.random() ? {} : null) : {}
36 >{} = Math.random() ? {} : null : {}
38 >Math.random() ? {} : null : {} | null
39 >Math.random() : number
[all …]
DemitExponentiationOperator3.js44 Math.pow((-++temp), 3);
45 Math.pow((+--temp), 3);
46 Math.pow((-temp++), 3);
47 Math.pow((+temp--), 3);
48 Math.pow((-(Math.pow(1, ++temp))), 3);
49 Math.pow((-(Math.pow(1, --temp))), 3);
50 Math.pow((-(Math.pow(1, temp++))), 3);
51 Math.pow((-(Math.pow(1, temp--))), 3);
52 Math.pow((-3), temp++);
53 Math.pow((-3), temp--);
[all …]
DexponentiationOperatorSyntaxError1.js43 Math.pow(// Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
45 Math.pow(+1, 2);
46 Math.pow(1, Math.pow(-2, 3));
47 Math.pow(1, Math.pow(-2, -3));
48 Math.pow(-1, Math.pow(-2, -3));
49 Math.pow(-(Math.pow(1, 2)), 3);
51 Math.pow(-++temp, 3);
52 Math.pow(+--temp, 3);
53 Math.pow(-temp++, 3);
54 Math.pow(+temp--, 3);
[all …]
DemitCompoundExponentiationOperator2.js29 comp = Math.pow(comp, 1);
30 comp = Math.pow(comp, comp = Math.pow(comp, 1));
31 comp = Math.pow(comp, comp = Math.pow(comp, 1 + 2));
32 comp = Math.pow(comp, comp = Math.pow(comp, 1 - 2));
33 comp = Math.pow(comp, comp = Math.pow(comp, 1 * 2));
34 comp = Math.pow(comp, comp = Math.pow(comp, 1 / 2));
35 comp = Math.pow(comp, comp = Math.pow(comp, (1 + 2)));
36 comp = Math.pow(comp, comp = Math.pow(comp, (1 - 2)));
37 comp = Math.pow(comp, comp = Math.pow(comp, (1 * 2)));
38 comp = Math.pow(comp, comp = Math.pow(comp, (1 / 2)));
[all …]
DemitExponentiationOperator2.js59 Math.pow(++temp, 3);
60 Math.pow(--temp, 3);
61 Math.pow(temp++, 3);
62 Math.pow(temp--, 3);
63 --temp + Math.pow(temp, 3);
64 --temp - Math.pow(temp, 3);
65 --temp * Math.pow(temp, 3);
66 --temp / Math.pow(temp, 3);
67 --temp % Math.pow(temp, 3);
68 Math.pow(temp--, 3);
[all …]
DemitExponentiationOperator4.js42 Math.pow(temp, 3);
43 Math.pow(--temp, 3);
44 Math.pow(++temp, 3);
45 Math.pow(temp--, 3);
46 Math.pow(temp++, 3);
47 Math.pow(1, Math.pow(--temp, 3));
48 Math.pow(1, Math.pow(++temp, 3));
49 Math.pow(1, Math.pow(temp--, 3));
50 Math.pow(1, Math.pow(temp++, 3));
51 Math.pow((void --temp), 3);
[all …]
DcompoundExponentiationAssignmentLHSCannotBeAssigned.js72 x1 = Math.pow(x1, a);
73 x1 = Math.pow(x1, b);
74 x1 = Math.pow(x1, true);
75 x1 = Math.pow(x1, 0);
76 x1 = Math.pow(x1, '');
77 x1 = Math.pow(x1, E.a);
78 x1 = Math.pow(x1, {});
79 x1 = Math.pow(x1, null);
80 x1 = Math.pow(x1, undefined);
82 x2 = Math.pow(x2, a);
[all …]
DexponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js42 Math.pow((!--temp), 3);
43 Math.pow((!temp--), 3);
44 Math.pow((!3), 4);
45 Math.pow((!temp++), 4);
46 Math.pow((!temp--), 4);
47 Math.pow((!--temp), Math.pow(3, 1));
48 Math.pow((!temp--), Math.pow(3, 1));
49 Math.pow((!3), Math.pow(4, 1));
50 Math.pow((!temp++), Math.pow(4, 1));
51 Math.pow((!temp--), Math.pow(4, 1));
[all …]
/third_party/boost/boost/math/
Dspecial_functions.hpp15 #include <boost/math/special_functions/airy.hpp>
16 #include <boost/math/special_functions/acosh.hpp>
17 #include <boost/math/special_functions/asinh.hpp>
18 #include <boost/math/special_functions/atanh.hpp>
19 #include <boost/math/special_functions/bernoulli.hpp>
20 #include <boost/math/special_functions/bessel.hpp>
21 #include <boost/math/special_functions/bessel_prime.hpp>
22 #include <boost/math/special_functions/beta.hpp>
23 #include <boost/math/special_functions/binomial.hpp>
24 #include <boost/math/special_functions/cbrt.hpp>
[all …]
Ddistributions.hpp15 #include <boost/math/distributions/arcsine.hpp>
16 #include <boost/math/distributions/bernoulli.hpp>
17 #include <boost/math/distributions/beta.hpp>
18 #include <boost/math/distributions/binomial.hpp>
19 #include <boost/math/distributions/cauchy.hpp>
20 #include <boost/math/distributions/chi_squared.hpp>
21 #include <boost/math/distributions/complement.hpp>
22 #include <boost/math/distributions/exponential.hpp>
23 #include <boost/math/distributions/extreme_value.hpp>
24 #include <boost/math/distributions/fisher_f.hpp>
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest_fpclassify.cpp12 #include <math.h>
14 #include <boost/math/special_functions/fpclassify.hpp>
61 const char* method_name(const boost::math::detail::native_tag&) in method_name()
66 const char* method_name(const boost::math::detail::generic_tag<true>&) in method_name()
71 const char* method_name(const boost::math::detail::generic_tag<false>&) in method_name()
76 const char* method_name(const boost::math::detail::ieee_tag&) in method_name()
81 const char* method_name(const boost::math::detail::ieee_copy_all_bits_tag&) in method_name()
86 const char* method_name(const boost::math::detail::ieee_copy_leading_bits_tag&) in method_name()
96 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NORMAL); in test()
97 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NORMAL); in test()
[all …]
/third_party/python/Lib/test/
Dtest_math.py1 # Python test set -- math module
9 import math
56 # Here's a pure Python version of the math.factorial algorithm, for
97 described at http://www.luschny.de/math/factorial/binarysplitfact.html
200 if math.isnan(expected) and math.isnan(got):
203 elif math.isinf(expected) or math.isinf(got):
254 self.ftest('pi', math.pi, 3.141592653589793238462643)
255 self.ftest('e', math.e, 2.718281828459045235360287)
256 self.assertEqual(math.tau, 2*math.pi)
259 self.assertRaises(TypeError, math.acos)
[all …]
/third_party/boost/boost/math/cstdfloat/
Dcstdfloat_cmath.hpp15 #include <boost/math/cstdfloat/cstdfloat_types.hpp>
16 #include <boost/math/cstdfloat/cstdfloat_limits.hpp>
41 namespace math { namespace
120 } // boost::math::cstdfloat::detail
285 // boost::math::cstdfloat::detail. Subsequently inject these into the
293 extern "C" boost::math::cstdfloat::detail::float_internal128_t BOOST_CSTDFLOAT_FLOAT128_LDEXP(boost…
294 extern "C" boost::math::cstdfloat::detail::float_internal128_t BOOST_CSTDFLOAT_FLOAT128_FREXP(boost…
295 extern "C" boost::math::cstdfloat::detail::float_internal128_t BOOST_CSTDFLOAT_FLOAT128_FABS(boost:…
296 extern "C" boost::math::cstdfloat::detail::float_internal128_t BOOST_CSTDFLOAT_FLOAT128_FLOOR(boost…
297 extern "C" boost::math::cstdfloat::detail::float_internal128_t BOOST_CSTDFLOAT_FLOAT128_CEIL(boost:…
[all …]
/third_party/boost/boost/math/tools/
Drational.hpp14 #include <boost/math/tools/config.hpp>
18 # define BOOST_HEADER() <BOOST_JOIN(boost/math/tools/detail/polynomial_horner1_, BOOST_MATH_MAX_PO…
22 # define BOOST_HEADER() <BOOST_JOIN(boost/math/tools/detail/polynomial_horner2_, BOOST_MATH_MAX_PO…
26 # define BOOST_HEADER() <BOOST_JOIN(boost/math/tools/detail/polynomial_horner3_, BOOST_MATH_MAX_PO…
31 # define BOOST_HEADER() <BOOST_JOIN(boost/math/tools/detail/rational_horner1_, BOOST_MATH_MAX_POLY…
35 # define BOOST_HEADER() <BOOST_JOIN(boost/math/tools/detail/rational_horner2_, BOOST_MATH_MAX_POLY…
39 # define BOOST_HEADER() <BOOST_JOIN(boost/math/tools/detail/rational_horner3_, BOOST_MATH_MAX_POLY…
49 #include <boost/math/tools/detail/polynomial_horner1_2.hpp>
50 #include <boost/math/tools/detail/polynomial_horner1_3.hpp>
51 #include <boost/math/tools/detail/polynomial_horner1_4.hpp>
[all …]
/third_party/mesa3d/docs/isl/
Dccs.rst81math:`u_6` :math:`u_5` :math:`u_4` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
82math:`u_6` :math:`u_5` :math:`v_3 \oplus u_1` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
83math:`u_6` :math:`u_5` :math:`v_2 \oplus u_1` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
84math:`u_6` :math:`u_5` :math:`u_4` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
85math:`u_6` :math:`u_5` :math:`u_4` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
86math:`u_6` :math:`u_5` :math:`u_4` :math:`v_6` :math:`v_5` :math:`v_4` :math:`v_3` :mat…

12345678910>>...273