add rint and expm1 function to cmath from libm

This commit is contained in:
geniusdo 2024-07-11 21:11:46 +08:00 committed by Xiang Xiao
parent f12c4e05cc
commit dde3b1b226
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,7 @@ namespace std
using ::cosf; using ::cosf;
using ::coshf; using ::coshf;
using ::expf; using ::expf;
using ::expm1f;
using ::fabsf; using ::fabsf;
using ::floorf; using ::floorf;
using ::fmodf; using ::fmodf;
@ -64,6 +65,7 @@ namespace std
using ::log10f; using ::log10f;
using ::log2f; using ::log2f;
using ::modff; using ::modff;
using ::rintf;
using ::roundf; using ::roundf;
using ::powf; using ::powf;
using ::sinf; using ::sinf;
@ -107,6 +109,7 @@ namespace std
using ::cos; using ::cos;
using ::cosh; using ::cosh;
using ::exp; using ::exp;
using ::expm1f;
using ::fabs; using ::fabs;
using ::floor; using ::floor;
using ::fmod; using ::fmod;
@ -117,6 +120,7 @@ namespace std
using ::log10; using ::log10;
using ::log2; using ::log2;
using ::modf; using ::modf;
using ::rint;
using ::round; using ::round;
using ::pow; using ::pow;
using ::sin; using ::sin;