Cyclone Scheme
0.28.0
|
◆ return_inexact_double_op_no_cps
Value:
double unboxed; \
Cyc_check_num(data, z); \
if (obj_is_int(z)) { \
unboxed = OP(obj_obj2int(z)); \
unboxed = OP(((integer_type *)z)->value); \
unboxed = OP(mp_get_double(&bignum_value(z))); \
} else { \
unboxed = OP(((double_type *)z)->value); \
} \
assign_double(ptr, unboxed); \
return ptr;
Extract double and return it to caller |