fix non-GMP bugs
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1496 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
bde8a59cec
commit
17d45689c9
@ -52,9 +52,10 @@ float_to_int(Float v, union arith_ret *o)
|
|||||||
}
|
}
|
||||||
#define RBIG_FL(v) return(float_to_int(v,o))
|
#define RBIG_FL(v) return(float_to_int(v,o))
|
||||||
#else
|
#else
|
||||||
#define RBIG_FL(v) (o)->Int = (Int)v; return long_int_e)
|
#define RBIG_FL(v) ((o)->Int = (Int)v; return long_int_e)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if USE_GMP
|
||||||
static void
|
static void
|
||||||
process_iso_error(MP_INT *big, Term t, char *operation)
|
process_iso_error(MP_INT *big, Term t, char *operation)
|
||||||
{ /* iso */
|
{ /* iso */
|
||||||
@ -71,7 +72,7 @@ process_iso_error(MP_INT *big, Term t, char *operation)
|
|||||||
P = (yamop *)FAILCODE;
|
P = (yamop *)FAILCODE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
inline static Functor
|
inline static Functor
|
||||||
AritFunctorOfTerm(Term t) {
|
AritFunctorOfTerm(Term t) {
|
||||||
|
Reference in New Issue
Block a user