From 2e719300a037bbdafdc8a5c38b4812c678d62ddc Mon Sep 17 00:00:00 2001 From: Nicholas Date: Fri, 10 Dec 2021 15:49:00 -0800 Subject: Chore: merge main into laptop --- include/base/math.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/base/math.h b/include/base/math.h index 65d3058..41d3858 100644 --- a/include/base/math.h +++ b/include/base/math.h @@ -7,12 +7,15 @@ int math·isInf(double, int); ulong math·umuldiv(ulong, ulong, ulong); long math·muldiv(long, long, long); +/* integer specific functions */ +int math·abs(int); +long math·labs(long); + +/* double specific functions */ double math·pow(double, double); double math·atan2(double, double); double math·fabs(double); double math·atan(double); -int math·abs(int); -long math·labs(long); double math·ldexp(double, int); double math·log(double); double math·log10(double); @@ -33,6 +36,9 @@ double math·fmod(double, double); double math·modf(double, double*); double math·frexp(double, int*); +/* float specific functions */ +float math·sqrtf(float); + double math·copysign(double, double); #define math·HUGE 3.4028234e38 -- cgit v1.2.1