move to eval.h

This commit is contained in:
Vítor Santos Costa 2014-11-27 15:11:26 +00:00
parent 650f6eb827
commit 70060bf627
2 changed files with 8 additions and 8 deletions

View File

@ -672,14 +672,6 @@ ParseList(read_data *rd, JMPBUFF *FailBuff USES_REGS)
return (o);
}
#ifndef INFINITY
#define INFINITY (1.0/0.0)
#endif
#ifndef NAN
#define NAN (0.0/0.0)
#endif
static Term
ParseTerm(read_data *rd, int prio, JMPBUFF *FailBuff USES_REGS)
{

View File

@ -138,6 +138,14 @@ exceptions:
#define PLMAXINT Int_MAX
#define PLMININT Int_MIN
#ifndef INFINITY
#define INFINITY (1.0/0.0)
#endif
#ifndef NAN
#define NAN (0.0/0.0)
#endif
/**
* @addtogroup arithmetic_operators
* @enum arith0_op constant operators