mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-11 14:57:36 +02:00
Added exact and inexact
This commit is contained in:
parent
48e88d41a7
commit
19ad46697b
1 changed files with 6 additions and 0 deletions
|
@ -96,6 +96,8 @@
|
|||
ceiling
|
||||
truncate
|
||||
round
|
||||
exact
|
||||
inexact
|
||||
)
|
||||
(begin
|
||||
;; Features implemented by this Scheme
|
||||
|
@ -664,4 +666,8 @@
|
|||
(define-c round
|
||||
"(void *data, int argc, closure _, object k, object z)"
|
||||
" return_exact_double_op(data, k, round, z); ")
|
||||
(define exact truncate)
|
||||
(define-c inexact
|
||||
"(void *data, int argc, closure _, object k, object z)"
|
||||
" return_inexact_double_op(data, k, (double), z); ")
|
||||
))
|
||||
|
|
Loading…
Add table
Reference in a new issue