fix isfinite

This commit is contained in:
Vítor Santos Costa 2013-11-23 14:51:56 +00:00
parent fd58cf10b2
commit 03879aa778

View File

@ -237,7 +237,7 @@ float_send(char *s, int sign)
{
GET_LD
Float f = (Float)(sign*atof(s));
#if HAVE_ISFINITE
#if HAVE_ISFINITE || defined(isfinite)
if (truePrologFlag(PLFLAG_ISO)) { /* iso */
if (!isfinite(f)) {
LOCAL_ErrorMessage = "Float overflow while scanning";