Home
last modified time | relevance | path

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

/bionic/tests/
Dmath_test.cpp632 ASSERT_DOUBLE_EQ(1.0, log(M_E)); in TEST()
636 ASSERT_FLOAT_EQ(1.0f, logf(static_cast<float>(M_E))); in TEST()
640 ASSERT_DOUBLE_EQ(1.0L, logl(M_E)); in TEST()
693 ASSERT_DOUBLE_EQ(M_E, exp(1.0)); in TEST()
698 ASSERT_FLOAT_EQ(static_cast<float>(M_E), expf(1.0f)); in TEST()
703 ASSERT_DOUBLE_EQ(M_E, expl(1.0L)); in TEST()
719 ASSERT_DOUBLE_EQ(M_E - 1.0, expm1(1.0)); in TEST()
723 ASSERT_FLOAT_EQ(static_cast<float>(M_E) - 1.0f, expm1f(1.0f)); in TEST()
727 ASSERT_DOUBLE_EQ(M_E - 1.0L, expm1l(1.0L)); in TEST()
1163 ASSERT_DOUBLE_EQ(1.0, log1p(M_E - 1.0)); in TEST()
[all …]
/bionic/tests/headers/posix/
Dmath_h.c74 MACRO(M_E); in math_h()
/bionic/libc/include/
Dmath.h339 #define M_E 2.7182818284590452354 /* e */ macro