mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
WIP
This commit is contained in:
parent
46e7e193df
commit
cc5d1d5d65
2 changed files with 3 additions and 1 deletions
|
@ -478,6 +478,7 @@ int Cyc_have_mstreams();
|
|||
return_closcall1(data, cont, z); \
|
||||
} else { \
|
||||
i = (int)OP(((double_type *)z)->value); \
|
||||
TODO: make_double, see return_inexact_double_or_cplx_op
|
||||
} \
|
||||
return_closcall1(data, cont, obj_int2obj(i))
|
||||
|
||||
|
@ -495,6 +496,7 @@ int Cyc_have_mstreams();
|
|||
return z; \
|
||||
} else { \
|
||||
i = (int)OP(((double_type *)z)->value); \
|
||||
TODO: assign_double
|
||||
} \
|
||||
return obj_int2obj(i);
|
||||
|
||||
|
|
|
@ -1374,7 +1374,7 @@
|
|||
"(void *data, int argc, closure _, object k, object z)"
|
||||
" return_exact_double_op(data, k, (int), z); "
|
||||
"(void *data, object ptr, object z)"
|
||||
" return_exact_double_op_no_cps(data, ptr, (int), z);")
|
||||
" return_exact_double_op_no_cps(data, ptr, trunc, z);")
|
||||
(define-c round
|
||||
"(void *data, int argc, closure _, object k, object z)"
|
||||
" return_exact_double_op(data, k, round, z); "
|
||||
|
|
Loading…
Add table
Reference in a new issue