summaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-11-02 13:49:14 +0100
committerGitHub <noreply@github.com>2018-11-02 13:49:14 +0100
commitb45161f0f3422dacb844bc7845bf4eef85bf1875 (patch)
treedf0523c796f0cd2838f90ecc926d594e183c3253 /core/math
parenta3501c096f32506bf2262e36a302bf65f4ad0f4a (diff)
parent81be9542eb068d878a7142618d1fb14562addc39 (diff)
Merge pull request #23450 from aaronfranke/remove-dtoll
Remove unused "dtoll" methods
Diffstat (limited to 'core/math')
-rw-r--r--core/math/math_funcs.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index 9a486a49d0..65c318448c 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -305,16 +305,6 @@ public:
return b;
}
-#if defined(__GNUC__)
-
- static _ALWAYS_INLINE_ int64_t dtoll(double p_double) { return (int64_t)p_double; } ///@TODO OPTIMIZE
- static _ALWAYS_INLINE_ int64_t dtoll(float p_float) { return (int64_t)p_float; } ///@TODO OPTIMIZE and rename
-#else
-
- static _ALWAYS_INLINE_ int64_t dtoll(double p_double) { return (int64_t)p_double; } ///@TODO OPTIMIZE
- static _ALWAYS_INLINE_ int64_t dtoll(float p_float) { return (int64_t)p_float; } ///@TODO OPTIMIZE and rename
-#endif
-
static _ALWAYS_INLINE_ uint32_t halfbits_to_floatbits(uint16_t h) {
uint16_t h_exp, h_sig;
uint32_t f_sgn, f_exp, f_sig;