diff options
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibM/math.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Libraries/LibM/math.cpp b/Libraries/LibM/math.cpp index 27ee607e1f..43918923c8 100644 --- a/Libraries/LibM/math.cpp +++ b/Libraries/LibM/math.cpp @@ -233,6 +233,11 @@ double fmod(double index, double period) return index - trunc(index / period) * period; } +float fmodf(float index, float period) +{ + return index - trunc(index / period) * period; +} + double exp(double exponent) { double result = 1; |