Cyclone Scheme  0.28.0
Macros | Functions
Numbers

Number functions. More...

Macros

#define Cyc_if(c, t, e)   ((boolean_f != c) ? (t) : (e))
 
#define return_exact_double_op(data, cont, OP, z)
 
#define return_exact_double_op_no_cps(data, ptr, OP, z)
 
#define return_inexact_double_op(data, cont, OP, z)
 
#define return_inexact_double_op_no_cps(data, ptr, OP, z)
 
#define return_inexact_double_or_cplx_op(data, cont, OP, CPLX_OP, z)
 
#define return_inexact_double_or_cplx_op_no_cps(data, ptr, OP, CPLX_OP, z)
 
#define unbox_number(n)
 

Functions

int Cyc_bignum_cmp (bn_cmp_type type, object x, int tx, object y, int ty)
 
object Cyc_bignum_normalize (void *data, object n)
 
object Cyc_bit_set (void *data, object n1, object n2)
 
object Cyc_bit_unset (void *data, object n1, object n2)
 
object Cyc_div (void *data, object cont, int argc, object n,...)
 
object Cyc_div_op (void *data, common_type *x, object y)
 
void Cyc_expt (void *data, object cont, object x, object y)
 
object Cyc_fast_div (void *data, object ptr, object x, object y)
 
object Cyc_fast_list_2 (object ptr, object x, object y)
 
object Cyc_fast_list_3 (object ptr, object a1, object a2, object a3)
 
object Cyc_fast_list_4 (object ptr, object a1, object a2, object a3, object a4)
 
object Cyc_fast_mul (void *data, object ptr, object x, object y)
 
object Cyc_fast_sub (void *data, object ptr, object x, object y)
 
object Cyc_fast_sum (void *data, object ptr, object x, object y)
 
object Cyc_fast_vector_2 (object ptr, object a1, object a2)
 
object Cyc_fast_vector_3 (object ptr, object a1, object a2, object a3)
 
object Cyc_fast_vector_4 (object ptr, object a1, object a2, object a3, object a4)
 
object Cyc_fast_vector_5 (object ptr, object a1, object a2, object a3, object a4, object a5)
 
void Cyc_int2bignum (int n, mp_int *bn)
 
object Cyc_integer2char (void *data, object n)
 
void Cyc_make_rectangular (void *data, object k, object r, object i)
 
object Cyc_mul (void *data, object cont, int argc, object n,...)
 
object Cyc_mul_op (void *data, common_type *x, object y)
 
object Cyc_num_cmp_va_list (void *data, int argc, int(fn_op(void *, object, object)), object n, va_list ns)
 
object Cyc_num_eq (void *, object cont, int argc, object n,...)
 
int Cyc_num_eq_op (void *, object x, object y)
 
object Cyc_num_fast_eq_op (void *data, object x, object y)
 
object Cyc_num_fast_gt_op (void *data, object x, object y)
 
object Cyc_num_fast_gte_op (void *data, object x, object y)
 
object Cyc_num_fast_lt_op (void *data, object x, object y)
 
object Cyc_num_fast_lte_op (void *data, object x, object y)
 
object Cyc_num_gt (void *, object cont, int argc, object n,...)
 
int Cyc_num_gt_op (void *, object x, object y)
 
object Cyc_num_gte (void *, object cont, int argc, object n,...)
 
int Cyc_num_gte_op (void *, object x, object y)
 
object Cyc_num_lt (void *, object cont, int argc, object n,...)
 
int Cyc_num_lt_op (void *, object x, object y)
 
object Cyc_num_lte (void *, object cont, int argc, object n,...)
 
int Cyc_num_lte_op (void *, object x, object y)
 
object Cyc_num_op_args (void *data, int argc, object(fn_op(void *, common_type *, object)), int default_no_args, int default_one_arg, object *args, common_type *buf)
 
object Cyc_num_op_va_list (void *data, int argc, object(fn_op(void *, common_type *, object)), int default_no_args, int default_one_arg, object n, va_list ns, common_type *buf)
 
object Cyc_number2string2 (void *data, object cont, int argc, object n,...)
 
void Cyc_remainder (void *data, object cont, object num1, object num2)
 
object Cyc_sub (void *data, object cont, int argc, object n,...)
 
object Cyc_sub_op (void *data, common_type *x, object y)
 
object Cyc_sum (void *data, object cont, int argc, object n,...)
 
object Cyc_sum_op (void *data, common_type *x, object y)
 
double MRG32k3a (double seed)
 

Detailed Description

Number functions.

integer_tag
@ integer_tag
Definition: types.h:61
obj_obj2int
#define obj_obj2int(x)
Definition: types.h:613
obj_is_int
#define obj_is_int(x)
Definition: types.h:607
bignum_value
#define bignum_value(x)
Definition: types.h:913
integer_type
Deprecated - boxed integers.
Definition: types.h:808
make_double
#define make_double(n, v)
Definition: types.h:884
type_of
#define type_of(obj)
Definition: types.h:92
bignum_tag
@ bignum_tag
Definition: types.h:62
obj_int2obj
#define obj_int2obj(c)
Definition: types.h:619
double_type
Double-precision floating point type, also known as a flonum.
Definition: types.h:877
complex_num_value
#define complex_num_value(x)
Definition: types.h:916
complex_num_tag
@ complex_num_tag
Definition: types.h:70