summaryrefslogtreecommitdiff
path: root/rational.c
Commit message (Expand)AuthorAgeFilesLines
* * complex.c (nucomp_rationalize) added. [experimental]tadf2009-08-161-0/+225
* * complex.c (nucomp_hash), rational.c (nurat_hash): not to usenobu2009-07-251-4/+3
* * rational.c (float_to_r): an improvement.tadf2009-07-191-0/+16
* * complex.c (make_patterns): do not use \d.tadf2009-07-191-1/+1
* * complex.c: added some shortcuts.tadf2009-07-121-2/+28
* * complex.c: use k_exact_{zero,one}_p macro.tadf2009-07-121-5/+8
* * numeric.c (fix_divide): added an entry to rational.tadf2009-07-121-0/+7
* * rational.c: edited rdoc.tadf2009-07-051-5/+5
* * rational.c: renamed equal_p to eqeq_p.tadf2009-07-031-14/+14
* added a comment.tadf2009-06-291-0/+1
* * rational.c (float_to_r): always returns rational.tadf2009-06-291-1/+1
* * complex.c (nucomp_div): raises ZeroDivisionError immediatelytadf2009-06-281-1/+3
* * complex.c (nucomp_expt): convert to a float when the given powertadf2009-06-281-1/+2
* * complex.c (nucomp_expt): some improvements.tadf2009-06-281-5/+5
* * complex.c: renamed some static functions.tadf2009-06-281-10/+9
* * rational.c (nurat_cmp): use rb_num_coerce_cmp.tadf2009-06-271-1/+1
* * complex.c: revised rdoc.tadf2009-06-271-354/+254
* * numeric.c (num_div): don't use num_floor which is actuallytadf2009-06-201-123/+0
* * complex.c: edited rdoc.tadf2009-06-191-23/+20
* * complex.c: edited rdoc.tadf2009-06-191-1/+7
* * complex.c; edited rdoc.tadf2009-06-191-41/+22
* * rational.c (nurat_abs); removed.tadf2009-06-191-25/+0
* * rational.c; edited rdoc.tadf2009-06-191-1/+10
* due to conflicttadf2009-06-191-110/+143
* * complex.c: constant COMPLEX_NAME has been removed.tadf2009-06-191-5/+1
* * rational.c: added rdoc. a patch from Run Paint Run Run.tadf2009-06-191-2/+662
* * numeric.c (*_numerator,*_denominator): moved to rational.c.tadf2009-06-191-0/+60
* * rational.c (nurat_s_convert): calls to_r when the given argumenttadf2009-06-181-2/+5
* * rational.c (nurat_coerce): accepts Complex when the imag istadf2009-06-171-0/+4
* * bignum.c (rb_big_fdiv): checks whether the given second argumenttadf2009-06-171-1/+1
* * complex.c (nucomp_coerce): accepts Complex instances.tadf2009-06-161-0/+2
* * complex.c (nucomp_fdiv): use fdiv recursively.tadf2009-06-131-5/+5
* * rational.c (nurat_to_f): use fdiv.tadf2009-06-131-81/+3
* * string.c (rb_hash_uint32, rb_hash_uint, rb_hash_start, rb_hash_end),mame2009-02-141-6/+11
* * bignum.c (rb_cstr_to_inum): changed an error message.tadf2008-12-291-1/+1
* * rational.c: floor, ceil, truncate and round accept an extratadf2008-12-291-16/+71
* * complex.c: use rb_usascii_str_new2 instead of rb_str_new2.tadf2008-12-131-3/+3
* * complex.c (nucomp_canonicalization): renamed.tadf2008-12-121-10/+5
* * complex.c, rational.c: do not use RUBY_VERSION_CODE.tadf2008-12-121-5/+4
* * complex.c, rational.c: do not use RUBY_VERSION_CODE.nobu2008-12-121-3/+1
* * complex.c: avoided warnings on cpp.tadf2008-12-101-0/+10
* * rational.c (nurat_{to_s,inspect}): performance improvement.tadf2008-12-051-9/+23
* * complex.c: continues to support canonicalization *unofficially*tadf2008-10-281-3/+15
* * complex.c (Init_Complex), rational.c (Init_Rational): undefinesnobu2008-09-241-0/+1
* * complex.c (Init_Complex), rational.c (Init_Rational): ID_ALLOCATORnobu2008-09-241-12/+3
* * complex.c (nucomp_s_canonicalize_internal): does no applytadf2008-09-231-25/+13
* * complex.c: added two macros.tadf2008-09-211-4/+8
* * complex.c (nucomp_s_convert): checks argc.tadf2008-09-211-4/+3
* * complex.c (nucomp_s_canonicalize_internal): checks exactness oftadf2008-09-211-18/+15
* * complex.c: an instance method image has been removed andtadf2008-09-201-2/+2