shithub: npe

Download patch

ref: af96a6e69d7786babf1ea40f3d5436db7cb7d805
parent: cb6ef851fe81ecd9a64ec529b5236e2bb606a745
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Apr 30 07:55:38 EDT 2021

math.h: add expf, logf, log10f and sqrtf

--- a/include/npe/math.h
+++ b/include/npe/math.h
@@ -16,10 +16,14 @@
 #define tanf tan
 
 #define ceilf ceil
+#define expf exp
 #define fabsf fabs
 #define floorf floor
 #define fmodf fmod
+#define logf log
+#define log10f log10
 #define powf pow
+#define sqrtf sqrt
 
 double exp2(double);
 #define exp2f exp2