Cyclone Scheme
0.28.0
|
◆ return_exact_double_op
Value:
int i = 0; \
Cyc_check_num(data, z); \
if (obj_is_int(z)) { \
i = obj_obj2int(z); \
i = (int)OP(((integer_type *)z)->value); \
return_closcall1(data, cont, z); \
} else { \
i = (int)OP(((double_type *)z)->value); \
} \
return_closcall1(data, cont, obj_int2obj(i))
Extract exact or double number and pass it in a call to continuation |