Searched refs:M_E (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | math_test.cpp | 473 ASSERT_DOUBLE_EQ(1.0, log(M_E)); in TEST() 477 ASSERT_FLOAT_EQ(1.0f, logf(static_cast<float>(M_E))); in TEST() 481 ASSERT_DOUBLE_EQ(1.0L, logl(M_E)); in TEST() 534 ASSERT_DOUBLE_EQ(M_E, exp(1.0)); in TEST() 539 ASSERT_FLOAT_EQ(static_cast<float>(M_E), expf(1.0f)); in TEST() 544 ASSERT_DOUBLE_EQ(M_E, expl(1.0L)); in TEST() 560 ASSERT_DOUBLE_EQ(M_E - 1.0, expm1(1.0)); in TEST() 564 ASSERT_FLOAT_EQ(static_cast<float>(M_E) - 1.0f, expm1f(1.0f)); in TEST() 568 ASSERT_DOUBLE_EQ(M_E - 1.0L, expm1l(1.0L)); in TEST() 911 ASSERT_DOUBLE_EQ(1.0, log1p(M_E - 1.0)); in TEST() [all …]
|
/bionic/libm/include/ |
D | math.h | 93 #define M_E 2.7182818284590452354 /* e */ macro
|