Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Numeric
[Numeric]


Functions

void rb_num_zerodiv (void)
VALUE rb_num_coerce_bin (VALUE, VALUE)
VALUE rb_num_coerce_cmp (VALUE, VALUE)
VALUE rb_num_coerce_relop (VALUE, VALUE)
VALUE rb_float_new (double)
VALUE rb_num2fix (VALUE)
VALUE rb_fix2str (VALUE, int)
VALUE rb_dbl_cmp (double, double)


Function Documentation

VALUE rb_dbl_cmp double  ,
double 
 

Definition at line 872 of file numeric.c.

References INT2FIX, isnan(), and Qnil.

Referenced by flo_cmp(), and rb_big_cmp().

VALUE rb_fix2str VALUE  ,
int 
 

Definition at line 1896 of file numeric.c.

References CHAR_BIT, FIX2LONG, rb_eArgError, rb_raise(), rb_str_new2(), ruby_digitmap, SIZEOF_LONG, and VALUE.

Referenced by fix_to_s(), pst_to_s(), and rb_big2str().

VALUE rb_float_new double   ) 
 

Definition at line 469 of file numeric.c.

References NEWOBJ, OBJSETUP, rb_cFloat, T_FLOAT, and VALUE.

Referenced by fix_minus(), fix_mul(), fix_plus(), fix_pow(), fix_quo(), fix_to_f(), flo_abs(), flo_div(), flo_divmod(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), flo_uminus(), Init_Math(), Init_Numeric(), math_acos(), math_acosh(), math_asin(), math_asinh(), math_atan(), math_atan2(), math_atanh(), math_cos(), math_cosh(), math_erf(), math_erfc(), math_exp(), math_frexp(), math_hypot(), math_ldexp(), math_log(), math_log10(), math_sin(), math_sinh(), math_sqrt(), math_tan(), math_tanh(), nil_to_f(), num_step(), pack_unpack(), r_object0(), rb_big_div(), rb_big_minus(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_quo(), rb_big_rand(), rb_big_to_f(), rb_f_rand(), rb_Float(), rb_proc_times(), rb_str_to_f(), time_minus(), and time_to_f().

VALUE rb_num2fix VALUE   ) 
 

Definition at line 1640 of file numeric.c.

References FIXABLE, FIXNUM_P, LONG2FIX, rb_eRangeError, rb_num2long(), rb_raise(), and VALUE.

Referenced by rb_fix_induced_from().

VALUE rb_num_coerce_bin VALUE  ,
VALUE 
 

Definition at line 153 of file numeric.c.

References do_coerce(), FRAME::orig_func, Qtrue, rb_funcall(), ruby_frame, and VALUE.

Referenced by fix_div(), fix_divmod(), fix_minus(), fix_mod(), fix_mul(), fix_plus(), fix_pow(), fix_quo(), flo_div(), flo_divmod(), flo_minus(), flo_mod(), flo_mul(), flo_plus(), flo_pow(), rb_big_div(), rb_big_divmod(), rb_big_minus(), rb_big_modulo(), rb_big_mul(), rb_big_plus(), rb_big_pow(), rb_big_quo(), and rb_big_remainder().

VALUE rb_num_coerce_cmp VALUE  ,
VALUE 
 

Definition at line 161 of file numeric.c.

References do_coerce(), FRAME::orig_func, Qfalse, Qnil, rb_funcall(), ruby_frame, and VALUE.

Referenced by fix_cmp(), flo_cmp(), and rb_big_cmp().

VALUE rb_num_coerce_relop VALUE  ,
VALUE 
 

Definition at line 170 of file numeric.c.

References do_coerce(), NIL_P, FRAME::orig_func, Qfalse, Qnil, rb_cmperr(), rb_funcall(), ruby_frame, and VALUE.

Referenced by fix_ge(), fix_gt(), fix_le(), fix_lt(), flo_ge(), flo_gt(), flo_le(), and flo_lt().

void rb_num_zerodiv void   ) 
 

Definition at line 77 of file numeric.c.

References rb_eZeroDivError, and rb_raise().

Referenced by bigdivrem(), and fixdivmod().


Generated on Wed Jan 18 23:32:13 2006 for Ruby by doxygen 1.3.5