Lines Matching refs:ASSERT_DOUBLE_EQ
323 ASSERT_DOUBLE_EQ(M_PI/2.0, acos(0.0));
331 ASSERT_DOUBLE_EQ(M_PI/2.0L, acosl(0.0L));
335 ASSERT_DOUBLE_EQ(0.0, asin(0.0));
343 ASSERT_DOUBLE_EQ(0.0L, asinl(0.0L));
347 ASSERT_DOUBLE_EQ(0.0, atan(0.0));
355 ASSERT_DOUBLE_EQ(0.0L, atanl(0.0L));
359 ASSERT_DOUBLE_EQ(0.0, atan2(0.0, 0.0));
367 ASSERT_DOUBLE_EQ(0.0L, atan2l(0.0L, 0.0L));
371 ASSERT_DOUBLE_EQ(1.0, cos(0.0));
379 ASSERT_DOUBLE_EQ(1.0L, cosl(0.0L));
383 ASSERT_DOUBLE_EQ(0.0, sin(0.0));
391 ASSERT_DOUBLE_EQ(0.0L, sinl(0.0L));
395 ASSERT_DOUBLE_EQ(0.0, tan(0.0));
403 ASSERT_DOUBLE_EQ(0.0L, tanl(0.0L));
407 ASSERT_DOUBLE_EQ(0.0, acosh(1.0));
415 ASSERT_DOUBLE_EQ(0.0L, acoshl(1.0L));
419 ASSERT_DOUBLE_EQ(0.0, asinh(0.0));
427 ASSERT_DOUBLE_EQ(0.0L, asinhl(0.0L));
431 ASSERT_DOUBLE_EQ(0.0, atanh(0.0));
439 ASSERT_DOUBLE_EQ(0.0L, atanhl(0.0L));
443 ASSERT_DOUBLE_EQ(1.0, cosh(0.0));
451 ASSERT_DOUBLE_EQ(1.0L, coshl(0.0L));
455 ASSERT_DOUBLE_EQ(0.0, sinh(0.0));
463 ASSERT_DOUBLE_EQ(0.0L, sinhl(0.0L));
467 ASSERT_DOUBLE_EQ(0.0, tanh(0.0));
475 ASSERT_DOUBLE_EQ(0.0L, tanhl(0.0L));
479 ASSERT_DOUBLE_EQ(1.0, log(M_E));
487 ASSERT_DOUBLE_EQ(1.0L, logl(M_E));
491 ASSERT_DOUBLE_EQ(12.0, log2(4096.0));
499 ASSERT_DOUBLE_EQ(12.0L, log2l(4096.0L));
503 ASSERT_DOUBLE_EQ(3.0, log10(1000.0));
511 ASSERT_DOUBLE_EQ(3.0L, log10l(1000.0L));
515 ASSERT_DOUBLE_EQ(3.0, cbrt(27.0));
523 ASSERT_DOUBLE_EQ(3.0L, cbrtl(27.0L));
527 ASSERT_DOUBLE_EQ(2.0, sqrt(4.0));
535 ASSERT_DOUBLE_EQ(2.0L, sqrtl(4.0L));
539 ASSERT_DOUBLE_EQ(1.0, exp(0.0));
540 ASSERT_DOUBLE_EQ(M_E, exp(1.0));
549 ASSERT_DOUBLE_EQ(1.0L, expl(0.0L));
550 ASSERT_DOUBLE_EQ(M_E, expl(1.0L));
554 ASSERT_DOUBLE_EQ(8.0, exp2(3.0));
562 ASSERT_DOUBLE_EQ(8.0L, exp2l(3.0L));
566 ASSERT_DOUBLE_EQ(M_E - 1.0, expm1(1.0));
574 ASSERT_DOUBLE_EQ(M_E - 1.0L, expm1l(1.0L));
579 ASSERT_DOUBLE_EQ(1.0, (pow(1.0, nan(""))));
581 ASSERT_DOUBLE_EQ(8.0, pow(2.0, 3.0));
593 ASSERT_DOUBLE_EQ(1.0L, (powl(1.0L, nanl(""))));
595 ASSERT_DOUBLE_EQ(8.0L, powl(2.0L, 3.0L));
599 ASSERT_DOUBLE_EQ(1.0, ceil(0.9));
607 ASSERT_DOUBLE_EQ(1.0L, ceill(0.9L));
611 ASSERT_DOUBLE_EQ(1.0, floor(1.1));
619 ASSERT_DOUBLE_EQ(1.0L, floorl(1.1L));
623 ASSERT_DOUBLE_EQ(1.0, fabs(-1.0));
631 ASSERT_DOUBLE_EQ(1.0L, fabsl(-1.0L));
635 ASSERT_DOUBLE_EQ(16.0, ldexp(2.0, 3.0));
643 ASSERT_DOUBLE_EQ(16.0L, ldexpl(2.0L, 3.0));
647 ASSERT_DOUBLE_EQ(2.0, fmod(12.0, 10.0));
655 ASSERT_DOUBLE_EQ(2.0L, fmodl(12.0L, 10.0L));
659 ASSERT_DOUBLE_EQ(2.0, remainder(12.0, 10.0));
667 ASSERT_DOUBLE_EQ(2.0L, remainderl(12.0L, 10.0L));
671 ASSERT_DOUBLE_EQ(2.0, drem(12.0, 10.0));
679 ASSERT_DOUBLE_EQ(12.0, fmax(12.0, 10.0));
680 ASSERT_DOUBLE_EQ(12.0, fmax(12.0, nan("")));
681 ASSERT_DOUBLE_EQ(12.0, fmax(nan(""), 12.0));
691 ASSERT_DOUBLE_EQ(12.0L, fmaxl(12.0L, 10.0L));
692 ASSERT_DOUBLE_EQ(12.0L, fmaxl(12.0L, nanl("")));
693 ASSERT_DOUBLE_EQ(12.0L, fmaxl(nanl(""), 12.0L));
697 ASSERT_DOUBLE_EQ(10.0, fmin(12.0, 10.0));
698 ASSERT_DOUBLE_EQ(12.0, fmin(12.0, nan("")));
699 ASSERT_DOUBLE_EQ(12.0, fmin(nan(""), 12.0));
709 ASSERT_DOUBLE_EQ(10.0L, fminl(12.0L, 10.0L));
710 ASSERT_DOUBLE_EQ(12.0L, fminl(12.0L, nanl("")));
711 ASSERT_DOUBLE_EQ(12.0L, fminl(nanl(""), 12.0L));
715 ASSERT_DOUBLE_EQ(10.0, fma(2.0, 3.0, 4.0));
723 ASSERT_DOUBLE_EQ(10.0L, fmal(2.0L, 3.0L, 4.0L));
727 ASSERT_DOUBLE_EQ(5.0, hypot(3.0, 4.0));
735 ASSERT_DOUBLE_EQ(5.0L, hypotl(3.0L, 4.0L));
739 ASSERT_DOUBLE_EQ(0.84270079294971489, erf(1.0));
747 ASSERT_DOUBLE_EQ(0.84270079294971489L, erfl(1.0L));
751 ASSERT_DOUBLE_EQ(0.15729920705028513, erfc(1.0));
759 ASSERT_DOUBLE_EQ(0.15729920705028513l, erfcl(1.0L));
900 ASSERT_DOUBLE_EQ(1.0, log1p(M_E - 1.0));
914 ASSERT_DOUBLE_EQ(1.0L, log1pl(M_E - 1.0L));
918 ASSERT_DOUBLE_EQ(0.0, fdim(1.0, 1.0));
919 ASSERT_DOUBLE_EQ(1.0, fdim(2.0, 1.0));
920 ASSERT_DOUBLE_EQ(0.0, fdim(1.0, 2.0));
930 ASSERT_DOUBLE_EQ(0.0L, fdiml(1.0L, 1.0L));
931 ASSERT_DOUBLE_EQ(1.0L, fdiml(2.0L, 1.0L));
932 ASSERT_DOUBLE_EQ(0.0L, fdiml(1.0L, 2.0L));
937 ASSERT_DOUBLE_EQ(1.0, round(0.5));
938 ASSERT_DOUBLE_EQ(-1.0, round(-0.5));
939 ASSERT_DOUBLE_EQ(0.0, round(0.0));
940 ASSERT_DOUBLE_EQ(-0.0, round(-0.0));
942 ASSERT_DOUBLE_EQ(HUGE_VAL, round(HUGE_VAL));
957 ASSERT_DOUBLE_EQ(1.0L, roundl(0.5L));
958 ASSERT_DOUBLE_EQ(-1.0L, roundl(-0.5L));
959 ASSERT_DOUBLE_EQ(0.0L, roundl(0.0L));
960 ASSERT_DOUBLE_EQ(-0.0L, roundl(-0.0L));
962 ASSERT_DOUBLE_EQ(HUGE_VALL, roundl(HUGE_VALL));
967 ASSERT_DOUBLE_EQ(1.0, trunc(1.5));
968 ASSERT_DOUBLE_EQ(-1.0, trunc(-1.5));
969 ASSERT_DOUBLE_EQ(0.0, trunc(0.0));
970 ASSERT_DOUBLE_EQ(-0.0, trunc(-0.0));
972 ASSERT_DOUBLE_EQ(HUGE_VAL, trunc(HUGE_VAL));
987 ASSERT_DOUBLE_EQ(1.0L, truncl(1.5L));
988 ASSERT_DOUBLE_EQ(-1.0L, truncl(-1.5L));
989 ASSERT_DOUBLE_EQ(0.0L, truncl(0.0L));
990 ASSERT_DOUBLE_EQ(-0.0L, truncl(-0.0L));
992 ASSERT_DOUBLE_EQ(HUGE_VALL, truncl(HUGE_VALL));
996 ASSERT_DOUBLE_EQ(0.0, nextafter(0.0, 0.0));
997 ASSERT_DOUBLE_EQ(4.9406564584124654e-324, nextafter(0.0, 1.0));
998 ASSERT_DOUBLE_EQ(0.0, nextafter(0.0, -1.0));
1008 ASSERT_DOUBLE_EQ(0.0L, nextafterl(0.0L, 0.0L));
1012 ASSERT_DOUBLE_EQ(smallest_positive, nextafterl(0.0L, 1.0L));
1013 ASSERT_DOUBLE_EQ(0.0L, nextafterl(0.0L, -1.0L));
1017 ASSERT_DOUBLE_EQ(0.0, nexttoward(0.0, 0.0L));
1018 ASSERT_DOUBLE_EQ(4.9406564584124654e-324, nexttoward(0.0, 1.0L));
1019 ASSERT_DOUBLE_EQ(0.0, nexttoward(0.0, -1.0L));
1029 ASSERT_DOUBLE_EQ(0.0L, nexttowardl(0.0L, 0.0L));
1033 ASSERT_DOUBLE_EQ(smallest_positive, nexttowardl(0.0L, 1.0L));
1034 ASSERT_DOUBLE_EQ(0.0L, nexttowardl(0.0L, -1.0L));
1038 ASSERT_DOUBLE_EQ(0.0, copysign(0.0, 1.0));
1039 ASSERT_DOUBLE_EQ(-0.0, copysign(0.0, -1.0));
1040 ASSERT_DOUBLE_EQ(2.0, copysign(2.0, 1.0));
1041 ASSERT_DOUBLE_EQ(-2.0, copysign(2.0, -1.0));
1052 ASSERT_DOUBLE_EQ(0.0L, copysignl(0.0L, 1.0L));
1053 ASSERT_DOUBLE_EQ(-0.0L, copysignl(0.0L, -1.0L));
1054 ASSERT_DOUBLE_EQ(2.0L, copysignl(2.0L, 1.0L));
1055 ASSERT_DOUBLE_EQ(-2.0L, copysignl(2.0L, -1.0L));
1059 ASSERT_DOUBLE_EQ(0.0, significand(0.0));
1060 ASSERT_DOUBLE_EQ(1.2, significand(1.2));
1061 ASSERT_DOUBLE_EQ(1.5375, significand(12.3));
1071 ASSERT_DOUBLE_EQ(0.0L, significandl(0.0L));
1072 ASSERT_DOUBLE_EQ(1.2L, significandl(1.2L));
1073 ASSERT_DOUBLE_EQ(1.5375L, significandl(12.3L));
1077 ASSERT_DOUBLE_EQ(12.0, scalb(3.0, 2.0));
1085 ASSERT_DOUBLE_EQ(12.0, scalbln(3.0, 2L));
1093 ASSERT_DOUBLE_EQ(12.0L, scalblnl(3.0L, 2L));
1097 ASSERT_DOUBLE_EQ(12.0, scalbn(3.0, 2));
1105 ASSERT_DOUBLE_EQ(12.0L, scalbnl(3.0L, 2));
1109 ASSERT_DOUBLE_EQ(log(24.0), gamma(5.0));
1119 ASSERT_DOUBLE_EQ(log(24.0), gamma_r(5.0, &sign));
1137 ASSERT_DOUBLE_EQ(log(24.0), lgamma(5.0));
1145 ASSERT_DOUBLE_EQ(logl(24.0L), lgammal(5.0L));
1150 ASSERT_DOUBLE_EQ(log(24.0), lgamma_r(5.0, &sign));
1161 ASSERT_DOUBLE_EQ(24.0, tgamma(5.0));
1169 ASSERT_DOUBLE_EQ(24.0L, tgammal(5.0L));
1173 ASSERT_DOUBLE_EQ(1.0, j0(0.0));
1174 ASSERT_DOUBLE_EQ(0.76519768655796661, j0(1.0));
1183 ASSERT_DOUBLE_EQ(0.0, j1(0.0));
1184 ASSERT_DOUBLE_EQ(0.44005058574493355, j1(1.0));
1193 ASSERT_DOUBLE_EQ(0.0, jn(4, 0.0));
1194 ASSERT_DOUBLE_EQ(0.0024766389641099553, jn(4, 1.0));
1203 ASSERT_DOUBLE_EQ(-HUGE_VAL, y0(0.0));
1204 ASSERT_DOUBLE_EQ(0.08825696421567697, y0(1.0));
1213 ASSERT_DOUBLE_EQ(-HUGE_VAL, y1(0.0));
1214 ASSERT_DOUBLE_EQ(-0.78121282130028868, y1(1.0));
1223 ASSERT_DOUBLE_EQ(-HUGE_VAL, yn(4, 0.0));
1224 ASSERT_DOUBLE_EQ(-33.278423028972114, yn(4, 1.0));
1235 ASSERT_DOUBLE_EQ(1024.0, scalbn(dr, exp));
1247 ASSERT_DOUBLE_EQ(1024.0L, scalbnl(ldr, exp));
1253 ASSERT_DOUBLE_EQ(123.0, di);
1254 ASSERT_DOUBLE_EQ(0.75, df);
1267 ASSERT_DOUBLE_EQ(123.0L, ldi);
1268 ASSERT_DOUBLE_EQ(0.75L, ldf);
1275 ASSERT_DOUBLE_EQ(1.0, d);
1288 ASSERT_DOUBLE_EQ(3L, q);
1289 ASSERT_DOUBLE_EQ(1.0L, ld);
1302 ASSERT_DOUBLE_EQ(5.0, exp2(log2(5)));
1304 ASSERT_DOUBLE_EQ(5.0L, exp2l(log2l(5)));