summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--big.c2
-rw-r--r--big.h2
-rw-r--r--reduce.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/big.c b/big.c
index 8c96896..35f27b5 100644
--- a/big.c
+++ b/big.c
@@ -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);
diff --git a/big.h b/big.h
index 3617d90..760944d 100644
--- a/big.h
+++ b/big.h
@@ -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);
diff --git a/reduce.c b/reduce.c
index 2d72394..6c61f9a 100644
--- a/reduce.c
+++ b/reduce.c
@@ -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 */