mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 08:20:20 +02:00
(trunc): Remove #define to scm_truncate when the C library
doesn't provide trunc. This was for when `truncate' was done as a scm_tc7_dsubr, no longer required.
This commit is contained in:
parent
bae30667b0
commit
faff1f2fda
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue