summaryrefslogtreecommitdiff
path: root/numeric.c
AgeCommit message (Expand)Author
2016-03-20* internal.h (DLONG): defined if long is 32bit (and LONG_LONG is 64bit;naruse
2016-03-20numeric.c: optimize Fixnum<->Bignum comparisonsnobu
2016-03-19fix r54193nobu
2016-03-19* numeric.c (fix_cmp): use rb_big_cmp if x is Fixnum and y is Bignum.naruse
2016-03-19* numeric.c (int_to_f): raise NotImplementedError when a receivermrkn
2016-03-19* bignum.c (Bignum#<=>): remove it because they are unified withmrkn
2016-03-18* bignum.c (rb_big_to_f, Bignum#to_f): removed them because they aremrkn
2016-03-18* numeric.c (int_to_f, fix_to_f): rename fix_to_f to int_to_f, and addmrkn
2016-03-18* bignum.c (Bignum#eql?): remove its definition because it is unifiedmrkn
2016-03-18* bignum.c (rb_big_to_s, Bignum#to_s): remove its definition becausemrkn
2016-03-18* numeric.c (int_to_s): Move from flo_to_s.mrkn
2016-03-17* numeric.c (fix_zero_p, fix_even_p, fix_odd_p): remove needlessmrkn
2016-03-17* numeric.c (int_even_p): treat Fixnum and Bignum values directly.mrkn
2016-03-17* bignum.c (Bignum#even?, Bignum#odd?): remove definitionsmrkn
2016-03-17* numeric.c (num_step): use rb_equal for zero check. rb_num_coerce_cmpmame
2016-03-17* enum.c (enum_inject): Implement the specialized code for sum ofakr
2016-03-14* numeric.c (fix2str): improve r54092 like rb_int2big().naruse
2016-03-13numeric.c: fix edge casenobu
2016-03-08* intern.h (rb_divmod): assume compilers `/` and `%` comply C99naruse
2016-02-26numeric.c: wrong type step should raise TypeErrornobu
2016-02-24numeric.c: micro optimizationsnobu
2016-02-17numeric.c: adjust typesnobu
2016-02-17numeric.c: adjust typesnobu
2016-02-16numeric.c: fix segfaultnobu
2015-12-14* enum.c: fix a typo in documentation.hsbt
2015-10-18* numeric.c: Good-by Borland-C.kosaki
2015-10-12numeric.c: use predefined IDsnobu
2015-10-12numeric.c: common expressionsnobu
2015-10-10* vm_eval.c, internal.h (rb_yield_1): added for performance whichko1
2015-10-05* remove trailing spaces.svn
2015-10-05* numeric.c: [DOC] Overview for Numeric class by Joe Corcoranzzak
2015-09-28preserve encodings in error messagesnobu
2015-08-11* numeric.c (Init_Numeric): Fix document for Float::MIN andakr
2015-07-22fix doc for Numeric#coerce [ci skip]nobu
2015-05-24* numeric.c (Numeric#negative?): [DOC] Fix call-seq.eregon
2015-05-19numeric.c: return truenobu
2015-05-19numeric.c: Bignum 0 is not positivenobu
2015-05-17numeric.c: Numeric#positive? and Numeric#negative?nobu
2015-05-17numeric.c: compare_with_zeronobu
2015-03-18hash.c: same hash values with Float#hashnobu
2015-02-24numeric.c: calculate complex numbersnobu
2015-02-16use rb_funcallvnobu
2015-01-13numeric.c: fix messagenobu
2015-01-12numeric.c: correct error message when coerce failsnormal
2014-11-18* internal.h: Gather declarations in non-header files.akr
2014-11-15* internal.h: Include ruby.h and ruby/encoding.h to beakr
2014-09-04* dir.c (glob_helper): use #ifdef instead of #if.ko1
2014-08-01numeric.c: 0 % Float::NAN returns Float::NANnobu
2014-07-01* numeric.c (num_step_scan_args): table argument of rb_get_kwargs() isnagachika
2014-06-07* numeric.c (do_coerce): Add a warning when an exception is raisederegon