Cyclone Scheme
0.28.0
|
◆ return_inexact_double_op
Value:
make_double(d, 0.0); \
Cyc_check_num(data, z); \
if (obj_is_int(z)) { \
d.value = OP(obj_obj2int(z)); \
d.value = OP(((integer_type *)z)->value); \
d.value = OP(mp_get_double(&bignum_value(z))); \
} else { \
d.value = OP(((double_type *)z)->value); \
} \
return_closcall1(data, cont, &d)
Extract double and pass it to continuation cont |