fix #971
This commit is contained in:
parent
85fe5e1940
commit
1546d210c5
1 changed files with 3 additions and 0 deletions
|
|
@ -314,6 +314,9 @@ static unsigned long nimNaN[2]={0xffffffff, 0x7fffffff};
|
|||
# define INF INFINITY
|
||||
# elif defined(HUGE_VAL)
|
||||
# define INF HUGE_VAL
|
||||
# elif defined(_MSC_VER)
|
||||
# include <float.h>
|
||||
# define INF (DBL_MAX+DBL_MAX)
|
||||
# else
|
||||
# define INF (1.0 / 0.0)
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue