diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-29 23:02:42 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-29 23:02:42 -0500 |
commit | 642b09558e586d47f172fcfd18c296d400317708 (patch) | |
tree | 796666be6c3721a3c70dad66bd94c902b297e8ab /math.c | |
parent | 51837743b0f90973bf63582a8f34662e9677629e (diff) |
started config file
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -66,6 +66,14 @@ static float maxf(float a, float b) { return a > b ? a : b; } +static double maxd(double a, double b) { + return a > b ? a : b; +} + +static double mind(double a, double b) { + return a < b ? a : b; +} + static u32 minu32(u32 a, u32 b) { return a < b ? a : b; } |