This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new dde3b1b226 add rint and expm1 function to cmath from libm
dde3b1b226 is described below

commit dde3b1b226d9e858cbcd7ded67b0561d9e452ae7
Author: geniusdo <[email protected]>
AuthorDate: Thu Jul 11 21:11:46 2024 +0800

    add rint and expm1 function to cmath from libm
---
 include/cxx/cmath | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/cxx/cmath b/include/cxx/cmath
index 589ff40ff9..6c4ac38c29 100644
--- a/include/cxx/cmath
+++ b/include/cxx/cmath
@@ -54,6 +54,7 @@ namespace std
   using ::cosf;
   using ::coshf;
   using ::expf;
+  using ::expm1f;
   using ::fabsf;
   using ::floorf;
   using ::fmodf;
@@ -64,6 +65,7 @@ namespace std
   using ::log10f;
   using ::log2f;
   using ::modff;
+  using ::rintf;
   using ::roundf;
   using ::powf;
   using ::sinf;
@@ -107,6 +109,7 @@ namespace std
   using ::cos;
   using ::cosh;
   using ::exp;
+  using ::expm1f;
   using ::fabs;
   using ::floor;
   using ::fmod;
@@ -117,6 +120,7 @@ namespace std
   using ::log10;
   using ::log2;
   using ::modf;
+  using ::rint;
   using ::round;
   using ::pow;
   using ::sin;

Reply via email to