diff options
author | Nicholas <nbnoll@eml.cc> | 2021-12-10 15:49:00 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-12-10 15:53:05 -0800 |
commit | 2e719300a037bbdafdc8a5c38b4812c678d62ddc (patch) | |
tree | b5750baaadc2b5d0b5fe22b85ca39bbea4f837c0 /include | |
parent | 25537c3d3b9b68af91573dec39d1f46c3d97f735 (diff) |
Chore: merge main into laptopselfhost
Diffstat (limited to 'include')
-rw-r--r-- | include/base/math.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 |