diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-06 01:09:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-06 01:09:05 +0300 |
commit | efc6f4675d1b1ac387f7af3b82b0960ab2cb3819 (patch) | |
tree | 6e186a21d37911695a7e6cb5760d0cc1354c742b /intern/cycles/util | |
parent | 832f7170dc7e3859c7c56fb4038cdb457513d6fa (diff) |
Cleanup: spelling
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_math_fast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_math_fast.h b/intern/cycles/util/util_math_fast.h index 107b36ce6cd..5ae56290f05 100644 --- a/intern/cycles/util/util_math_fast.h +++ b/intern/cycles/util/util_math_fast.h @@ -362,7 +362,7 @@ ccl_device float fast_atan2f(float y, float x) ccl_device float fast_log2f(float x) { /* NOTE: clamp to avoid special cases and make result "safe" from large - * negative values/nans. */ + * negative values/NAN's. */ x = clamp(x, FLT_MIN, FLT_MAX); unsigned bits = __float_as_uint(x); int exponent = (int)(bits >> 23) - 127; |