(trunc): Remove #define to scm_truncate when the C library
authorKevin Ryde <user42@zip.com.au>
Tue, 18 May 2004 23:45:34 +0000 (23:45 +0000)
committerKevin Ryde <user42@zip.com.au>
Tue, 18 May 2004 23:45:34 +0000 (23:45 +0000)
doesn't provide trunc.  This was for when `truncate' was done as a
scm_tc7_dsubr, no longer required.

libguile/numbers.c

index 1c64fb7..6187fef 100644 (file)
@@ -4937,7 +4937,6 @@ scm_truncate (double x)
 #if HAVE_TRUNC
   return trunc (x);
 #else
-#define trunc scm_truncate
   if (x < 0.0)
     return -floor (-x);
   return floor (x);