diff options
author | Chris Robinson <[email protected]> | 2012-09-28 04:20:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-28 04:20:55 -0700 |
commit | 825c5b5282f9c06b90bb3e22c967270c25bb1796 (patch) | |
tree | 9280be474b4648b07f5a399228c1f840160938c6 /CMakeLists.txt | |
parent | 25ca1793892bc6ae2587339e0bd80aef1db8c11a (diff) |
Use lrintf to fast convert floats to ints when possible
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ce5e7a10..04d1e8fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -258,7 +258,7 @@ ENDIF() CHECK_SYMBOL_EXISTS(aligned_alloc stdlib.h HAVE_ALIGNED_ALLOC) CHECK_SYMBOL_EXISTS(posix_memalign stdlib.h HAVE_POSIX_MEMALIGN) CHECK_SYMBOL_EXISTS(_aligned_malloc malloc.h HAVE__ALIGNED_MALLOC) -CHECK_SYMBOL_EXISTS(powf math.h HAVE_POWF) +CHECK_SYMBOL_EXISTS(lrintf math.h HAVE_LRINTF) CHECK_SYMBOL_EXISTS(powf math.h HAVE_POWF) CHECK_SYMBOL_EXISTS(sqrtf math.h HAVE_SQRTF) CHECK_SYMBOL_EXISTS(cosf math.h HAVE_COSF) |