We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4ba47 commit 6dbb531Copy full SHA for 6dbb531
flang-rt/CMakeLists.txt
@@ -223,7 +223,6 @@ check_cxx_source_compiles(
223
"
224
HAVE_DECL_STRERROR_S)
225
226
-
227
# Search for clang_rt.builtins library. Need in addition to msvcrt.
228
if (WIN32)
229
find_compiler_rt_library(builtins FLANG_RT_BUILTINS_LIBRARY)
@@ -294,6 +293,15 @@ elseif (FLANG_RT_GCC_RESOURCE_DIR)
294
293
endif ()
295
296
+# Check if 128-bit float computations can be done via long double.
297
+check_cxx_source_compiles(
298
+ "#include <cfloat>
299
+ #if LDBL_MANT_DIG != 113
300
+ #error LDBL_MANT_DIG != 113
301
+ #endif
302
+ int main() { return 0; }
303
+ "
304
+ HAVE_LDBL_MANT_DIG_113)
305
306
307
#####################
0 commit comments