From f7328fb74ab7e468435a86f81d74d0171fb90e58 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Fri, 10 Dec 2010 20:48:35 +0100 Subject: [PATCH] In impl/math_fenv.h, define FE_OVERFLOW to allow processing of NaN/inf as error conditions in platforms without fenv.h --- src/h/impl/math_fenv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h/impl/math_fenv.h b/src/h/impl/math_fenv.h index 96ee9f519..572922eea 100644 --- a/src/h/impl/math_fenv.h +++ b/src/h/impl/math_fenv.h @@ -57,7 +57,7 @@ # define FE_INVALID 1 # define FE_DIVBYZERO 2 # define FE_INEXACT 0 -# define FE_OVERFLOW 0 +# define FE_OVERFLOW 3 # define FE_UNDERFLOW 0 # define ECL_WITHOUT_FPE_BEGIN # define ECL_WITHOUT_FPE_END