mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-12 15:37:35 +02:00
fixing trunc for real now
(hopefully... getting sleepy)
This commit is contained in:
parent
e780c122c0
commit
4ba0705f05
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@
|
|||
#define strcasecmp cistrcmp
|
||||
#define strncasecmp cistrncmp
|
||||
#define round(x) floor((x)+0.5)
|
||||
#define trunc(x) ((x)-((x)-round(x)))
|
||||
#define trunc(x) floor((x)+0.5*(((x)<0)?1:0))
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue