fix X is ceiling(E).
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@44 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
a47ba033b2
commit
27e367f0a5
@ -1289,7 +1289,7 @@ p_ceiling(Term t E_ARGS)
|
|||||||
if (yap_flags[LANGUAGE_MODE_FLAG] == 1) { /* iso */
|
if (yap_flags[LANGUAGE_MODE_FLAG] == 1) { /* iso */
|
||||||
RBIG_FL(ceil(dbl));
|
RBIG_FL(ceil(dbl));
|
||||||
} else {
|
} else {
|
||||||
RFLOAT(floor(dbl));
|
RFLOAT(ceil(dbl));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user