|
From: <kin...@us...> - 2025-09-10 00:31:27
|
Revision: 7383
http://sourceforge.net/p/teem/code/7383
Author: kindlmann
Date: 2025-09-10 00:31:24 +0000 (Wed, 10 Sep 2025)
Log Message:
-----------
still in progress
Modified Paths:
--------------
teem/trunk/CMake/CheckLibM.cmake
Modified: teem/trunk/CMake/CheckLibM.cmake
===================================================================
--- teem/trunk/CMake/CheckLibM.cmake 2025-09-10 00:24:03 UTC (rev 7382)
+++ teem/trunk/CMake/CheckLibM.cmake 2025-09-10 00:31:24 UTC (rev 7383)
@@ -46,9 +46,12 @@
# T=log1pf(tanf(1.5703125)) ~= 7.634267208876022, so RT=(int)T should be 7
# If 7 == RT, our exit status should be unix for "all good", i.e. 0 ==> return 7 != T
file(WRITE "${_checklibm_dir}/tiny.c" "
+#include <stdio.h>
#include <math.h>
int tinyFunc(double val) {
- return (6 != (int)(log1pf(tanf(val)))); // should be 7 not 6
+ int ret = (6 != (int)(log1pf(tanf(val)))); // should be 7 not 6
+ printf(\"tinyFunc: returning %d (%s)\n\", ret, ret ? \"bad\" : \"good\");
+ return ret;
}
")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|