From a8e985f4f6c29a231b5913444d4ab3f660599feb Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 22 Feb 2016 18:14:24 -0600 Subject: [PATCH] Don't use fast math for gdtoa - gdtoa is for converting floating point numbers to and from string representations. I'd consider accuracy more important than speed here. --- gdtoa/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdtoa/CMakeLists.txt b/gdtoa/CMakeLists.txt index 4dff4c30d..a0b76e0c3 100644 --- a/gdtoa/CMakeLists.txt +++ b/gdtoa/CMakeLists.txt @@ -12,9 +12,6 @@ if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE ) set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra" ) endif() -# Enable fast flag for gdtoa -set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ZD_FASTMATH_FLAG}" ) - include_directories( ${CMAKE_CURRENT_BINARY_DIR} ) add_definitions( -DINFNAN_CHECK -DMULTIPLE_THREADS )