fix bad test for bignum condition.
This commit is contained in:
parent
5e4be93491
commit
4e5fe4186f
2
H/eval.h
2
H/eval.h
|
@ -238,7 +238,7 @@ inline EXTERN Term Yap_Mk64IntegerTerm(YAP_LONG_LONG);
|
||||||
inline EXTERN Term
|
inline EXTERN Term
|
||||||
Yap_Mk64IntegerTerm(YAP_LONG_LONG i)
|
Yap_Mk64IntegerTerm(YAP_LONG_LONG i)
|
||||||
{
|
{
|
||||||
if (i <= Int_MAX || i >= Int_MIN) {
|
if (i <= Int_MAX && i >= Int_MIN) {
|
||||||
return MkIntegerTerm((Int)i);
|
return MkIntegerTerm((Int)i);
|
||||||
} else {
|
} else {
|
||||||
#if USE_GMP
|
#if USE_GMP
|
||||||
|
|
Reference in New Issue