diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:39:12 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:39:12 -0400 |
commit | 1ff08c03752688d8269d8d93113fcc74e6f52f02 (patch) | |
tree | dbfaf5598571f93e48ca4cb25375d522ae1dd849 | |
parent | c0ec26a98f6b2828d971cb2df88c3e7b7b96e858 (diff) |
rename dbltobig() to big_fromd()
-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 */ |