Searched refs:M_E (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | math_test.cpp | 389 ASSERT_FLOAT_EQ(1.0, log(M_E)); in TEST() 393 ASSERT_FLOAT_EQ(1.0f, logf(static_cast<float>(M_E))); in TEST() 397 ASSERT_FLOAT_EQ(1.0, logl(M_E)); in TEST() 450 ASSERT_FLOAT_EQ(M_E, exp(1.0)); in TEST() 455 ASSERT_FLOAT_EQ(static_cast<float>(M_E), expf(1.0f)); in TEST() 460 ASSERT_FLOAT_EQ(M_E, expl(1.0)); in TEST() 476 ASSERT_FLOAT_EQ(M_E - 1.0, expm1(1.0)); in TEST() 480 ASSERT_FLOAT_EQ(static_cast<float>(M_E) - 1.0f, expm1f(1.0f)); in TEST() 484 ASSERT_FLOAT_EQ(M_E - 1.0, expm1l(1.0)); in TEST() 801 ASSERT_FLOAT_EQ(1.0, log1p(M_E - 1.0)); in TEST() [all …]
|
/bionic/libm/include/ |
D | math.h | 135 #define M_E 2.7182818284590452354 /* e */ macro
|