diff options
-rw-r--r-- | big.c | 2 | ||||
-rw-r--r-- | big.h | 2 | ||||
-rw-r--r-- | reduce.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -652,7 +652,7 @@ double big_tod(word x) but is used without surrounding sto_/set)dbl() only in compare() */ /* entier */ -word dbltobig(double x) +word big_fromd(double x) { word s = (x < 0); word r = make(INT, 0, 0); @@ -42,7 +42,7 @@ word bigtostr(word); word bigtostr8(word); word bigtostrx(word); word bigxscan(char *,char *); -word dbltobig(double); +word big_fromd(double); int isnat(word); word strtobig(word,int); @@ -1933,7 +1933,7 @@ L3: if(arg1==NIL)lexfail(lastarg); case READY(ENTIER_FN): /* floor */ UPLEFT; if(tag[lastarg]==INT)simpl(lastarg); - else simpl(dbltobig(get_dbl(lastarg))); + else simpl(big_fromd(get_dbl(lastarg))); goto DONE; case READY(LOG_FN): /* log */ |