Home
last modified time | relevance | path

Searched refs:check_double (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h19 check_double ("acos (0.0)", acos (0.0), 1.57079632679489655800E+00);
20 check_double ("acos (-0.0)", acos (-0.0), 1.57079632679489655800E+00);
21 check_double ("acos (1.0)", acos (1.0), 0.00000000000000000000E+00);
22 check_double ("acos (-1.0)", acos (-1.0), 3.14159265358979311600E+00);
23 check_double ("acos (0.5)", acos (0.5), 1.04719755119659785336E+00);
24 check_double ("acos (-0.5)", acos (-0.5), 2.09439510239319570672E+00);
25 check_double ("acos (INFINITY)", acos (INFINITY), NAN);
26 check_double ("acos (-INFINITY)", acos (-INFINITY), NAN);
27 check_double ("acos (NAN)", acos (NAN), NAN);
28 check_double ("acos (6.9e-18)", acos (6.9e-18), 1.57079632679489655800E+00);
[all …]
Dtest-libm.c46 check_double (const char *expr, double computed, double expected) in check_double() function
/third_party/json/test/src/
Dunit-to_chars.cpp214 auto check_double = [](double number, const std::string & digits, int expected_exponent) variable
229check_double(make_double(0, 0, 0x0000000000000001), "5", -324); // min denormal
230check_double(make_double(0, 0, 0x000FFFFFFFFFFFFF), "2225073858507201", -323); // max denormal
231check_double(make_double(0, 1, 0x0000000000000000), "22250738585072014", -324); // min normal
232 check_double(make_double(0, 1, 0x0000000000000001), "2225073858507202", -323);
233 check_double(make_double(0, 1, 0x000FFFFFFFFFFFFF), "44501477170144023", -324);
234 check_double(make_double(0, 2, 0x0000000000000000), "4450147717014403", -323);
235 check_double(make_double(0, 2, 0x0000000000000001), "4450147717014404", -323);
236check_double(make_double(0, 4, 0x0000000000000000), "17800590868057611", -323); // fail if no s…
237check_double(make_double(0, 5, 0x0000000000000000), "35601181736115222", -323); // fail if no s…
[all …]