aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d44d20ce..55722f91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -139,11 +139,11 @@ check_c_source_compiles("
#include <math.h>
int main() {
int q;
- return (int)(
- hypot(3.0, 4.0) + atanh(0.8) + cbrt(8.0) +
- remquo(100.0, 90.0, &q) +
- remainder(100.0, 90.0) + copysign(1.0, -0.0) +
- log1p(0.1) + asinh(0.1)) + isnan(0.0);
+ return (int)(hypot(3.0, 4.0) + log1p(2.0) + asinh(10.0) +
+ atanh(0.8) + cbrt(8.0) + remquo(100.0, 90.0, &q) +
+ remainder(100.0, 90.0) + copysign(1.0, -0.0) +
+ round(3.5)) +
+ (int)(lround(-3.5)) + isnan(0.0);
}
" C99_MATH)
if(C99_MATH)