diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-16 21:20:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-16 21:20:56 +0400 |
commit | f334df56242c3b2a5ad1808c4dec745c7c35a315 (patch) | |
tree | 8c5b89715a82c4c421dc23e3de5b5515a2fde56c /intern/cycles/util/util_math.h | |
parent | 34ba69d576883d2b87a33c24a5cc32c0929f8ab5 (diff) |
code cleanup: double promotion warnings.
Diffstat (limited to 'intern/cycles/util/util_math.h')
-rw-r--r-- | intern/cycles/util/util_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math.h b/intern/cycles/util/util_math.h index 6b85e06c25d..6edf7fa3544 100644 --- a/intern/cycles/util/util_math.h +++ b/intern/cycles/util/util_math.h @@ -1130,7 +1130,7 @@ __device float compatible_powf(float x, float y) { /* GPU pow doesn't accept negative x, do manual checks here */ if(x < 0.0f) { - if(fmod(-y, 2.0f) == 0.0f) + if(fmodf(-y, 2.0f) == 0.0f) return powf(-x, y); else return -powf(-x, y); |