search for: __finite_math_only__

Displaying 6 results from an estimated 6 matches for "__finite_math_only__".

2017 Mar 20
2
-ffast-math optimizations impacted by symbol renaming in header files
...ally be applied to standard math function calls are not getting applied when the –ffast-math option is enabled on the Clang command line on a Linux x86_64 target. I tracked down the issue to occurring because the –ffast-math option is triggering Clang to preprocess the math.h header file with the __FINITE_MATH_ONLY__ macro set to 1. In this case, the Linux header files are redirecting several math functions using the __asm__ extension to rename the symbol. An example of what the header files contains is: extern double exp (double) __asm__ ("" "__exp_finite") __attribute__ ((__nothrow__...
2020 Jan 27
11
Floating point semantic modes
...tonearest } contract { fast } denormal_fp_math { PreserveSign } denormal_fp32_math { PreserveSign } support_math_errno { off } no_honor_nans { on } no_honor_infinities { on } no_signed_zeros { on } allow_reciprocal { on } allow_approximate_fns { on } allow_reassociation { on } __FINITE_MATH_ONLY__ This symbol will only be defined if and only if all of the following are set (before pragmas are applied): no_honor_nans { on } no_honor_infinities { on } FLT_ROUNDS Should be set to -1 (indeterminable) if rounding_mode() is dynamic or 1 (tonearest) if rounding_mode is tonearest. There are v...
2020 Jan 29
2
Floating point semantic modes
...tonearest } contract { fast } denormal_fp_math { PreserveSign } denormal_fp32_math { PreserveSign } support_math_errno { off } no_honor_nans { on } no_honor_infinities { on } no_signed_zeros { on } allow_reciprocal { on } allow_approximate_fns { on } allow_reassociation { on } __FINITE_MATH_ONLY__ This symbol will only be defined if and only if all of the following are set (before pragmas are applied): no_honor_nans { on } no_honor_infinities { on } FLT_ROUNDS Should be set to -1 (indeterminable) if rounding_mode() is dynamic or 1 (tonearest) if rounding_mode is tonearest. There are v...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
....17549435e-38F #define __CHAR_BIT__ 8 #define __WCHAR_MAX__ 2147483647 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324 #define __FLT_EVAL_METHOD__ 2 #define __unix__ 1 #define unix 1 #define __i386__ 1 #define __SIZE_TYPE__ unsigned int #define __ELF__ 1 #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 3 #define __FLT_RADIX__ 2 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L #define __SHRT_MAX__ 32767 #define __LDBL_MAX__ 1.18973149535723176502e+4932L #define __linux 1 #define __unix 1 #define __LDBL_MAX_EXP__ 16384 #define __LONG_MAX__ 2147483647L #define __lin...
2020 Jan 28
3
Floating point semantic modes
...{ PreserveSign } > > support_math_errno { off } > > no_honor_nans { on } > > no_honor_infinities { on } > > no_signed_zeros { on } > > allow_reciprocal { on } > > allow_approximate_fns { on } > > allow_reassociation { on } > > > > __FINITE_MATH_ONLY__ > > > > This symbol will only be defined if and only if all of the following are set > (before pragmas are applied): > > no_honor_nans { on } > > no_honor_infinities { on } > > > > FLT_ROUNDS > > > > Should be set to -1 (indeterminable) if roun...
2020 Jan 29
3
Floating point semantic modes
...h { PreserveSign } > denormal_fp32_math { PreserveSign } > support_math_errno { off } > no_honor_nans { on } > no_honor_infinities { on } > no_signed_zeros { on } > allow_reciprocal { on } > allow_approximate_fns { on } > allow_reassociation { on } > > __FINITE_MATH_ONLY__ > > This symbol will only be defined if and only if all of the following are set (before pragmas are applied): > no_honor_nans { on } > no_honor_infinities { on } > > FLT_ROUNDS > > Should be set to -1 (indeterminable) if rounding_mode() is dynamic or 1 (tonearest) if...