diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-16 12:28:31 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-16 12:28:31 +0300 |
commit | d89722868299afae8979e4b8dce9f40cb8576579 (patch) | |
tree | 398ec11f7ec08c0b5881d2345734c5765949a033 /source/blender/blenlib/BLI_math_base.h | |
parent | f6f93b5b126d320a223977a07e3e0510ba684ceb (diff) |
BLI: move safe math functions to separate header
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index 93cd902c27f..c456ab0ecef 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -103,7 +103,6 @@ MINLINE float pow2f(float x); MINLINE float pow3f(float x); MINLINE float pow4f(float x); MINLINE float pow7f(float x); -MINLINE float safe_powf(float base, float exponent); MINLINE float sqrt3f(float f); MINLINE double sqrt3d(double d); @@ -218,10 +217,6 @@ MINLINE unsigned short round_db_to_ushort_clamp(double a); MINLINE int round_db_to_int_clamp(double a); MINLINE unsigned int round_db_to_uint_clamp(double a); -MINLINE float safe_divide(float a, float b); -MINLINE float safe_modf(float a, float b); -MINLINE float safe_logf(float a, float base); - int pow_i(int base, int exp); double double_round(double x, int ndigits); |