fix isfinite
This commit is contained in:
parent
fd58cf10b2
commit
03879aa778
@ -237,7 +237,7 @@ float_send(char *s, int sign)
|
|||||||
{
|
{
|
||||||
GET_LD
|
GET_LD
|
||||||
Float f = (Float)(sign*atof(s));
|
Float f = (Float)(sign*atof(s));
|
||||||
#if HAVE_ISFINITE
|
#if HAVE_ISFINITE || defined(isfinite)
|
||||||
if (truePrologFlag(PLFLAG_ISO)) { /* iso */
|
if (truePrologFlag(PLFLAG_ISO)) { /* iso */
|
||||||
if (!isfinite(f)) {
|
if (!isfinite(f)) {
|
||||||
LOCAL_ErrorMessage = "Float overflow while scanning";
|
LOCAL_ErrorMessage = "Float overflow while scanning";
|
||||||
|
Reference in New Issue
Block a user