summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
AgeCommit message (Expand)Author
2014-04-26Refactor fix_xor()Jun Hiroe
2014-04-26Refactor fix_or()Jun Hiroe
2014-04-26Refactor fix_and()Jun Hiroe
2014-04-26Refactor flo_finite_p()Jun Hiroe
2014-04-16Refactor fix_to_f in numeric.cJun Hiroe
2014-04-16Refactor lshift in numeric.cJun Hiroe
2014-04-16Refactor fix_shift_get_width in numeric.cJun Hiroe
2014-04-15resolve conflictYukihiro "Matz" Matsumoto
2014-04-13Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-04-13avoid function style parens after "return"; ref #2055Yukihiro "Matz" Matsumoto
2014-04-13Fix indent in bit_coerceJun Hiroe
2014-04-13Refactor fix_rshiftJun Hiroe
2014-04-13Refactor fix_lshiftJun Hiroe
2014-04-12Refactor fix_revJun Hiroe
2014-04-12simplify Fixnum#==Yukihiro "Matz" Matsumoto
2014-04-12simplify Numeric#eql?Yukihiro "Matz" Matsumoto
2014-04-12remove num_equal() that potentially cause infinite loopYukihiro "Matz" Matsumoto
2014-04-11Numeric#round takes optinal argument; close #2042Yukihiro "Matz" Matsumoto
2014-03-28do not use "to_f" to retrieve floats in mrb_get_args(); close #1965Yukihiro "Matz" Matsumoto
2014-03-21Float#round fix bug for infinity and nan casesksss
2014-03-18Reduce implicit type casts.Masaki Muranaka
2014-03-17Merge pull request #1871 from ksss/numeric-plusYukihiro "Matz" Matsumoto
2014-03-17Merge pull request #1872 from ksss/numeric-mulYukihiro "Matz" Matsumoto
2014-03-16float + nil should be raise TypeErrorksss
2014-03-16fix bug when `0 * other object`ksss
2014-03-16fix bug when `0 + other object`ksss
2014-03-11add MRB_INT_BITcremno
2014-03-08use NAN and INFINITYcremno
2014-02-26resolve conflictYukihiro "Matz" Matsumoto
2014-02-25avoid accessing uninitialized string; ref ac936fcYukihiro "Matz" Matsumoto
2014-02-23move declaration to the top of the block; ref #1727Yukihiro "Matz" Matsumoto
2014-02-22preserve significands in float-string conversionh2so5
2014-02-22powered num may be infinite in float-string conversionYukihiro "Matz" Matsumoto
2014-02-18mrb_flo_to_str: internal linkagecremno
2014-02-17more mrb_flo_to_str fixescremno
2014-02-17use double instead of mrb_float (that may be single precision float) to reduc...Yukihiro "Matz" Matsumoto
2014-02-17remove trailing zeros from float string representationYukihiro "Matz" Matsumoto
2014-02-17define FLO_EPSILON depends on float/doubleYukihiro "Matz" Matsumoto
2014-02-17remove max_digit from mrb_flo_to_str()Yukihiro "Matz" Matsumoto
2014-02-17small refactoring; direct returnYukihiro "Matz" Matsumoto
2014-02-17use powf() instead of pow() on MRB_USE_FLOATYukihiro "Matz" Matsumoto
2014-02-17fdigit may be negative due to error if mrb_float is 32bit (e.g. 10**36 on 32b...Yukihiro "Matz" Matsumoto
2014-02-17fix mrb_flo_to_str() exponent problemh2so5
2014-02-15modify mrb_to_str() in order to display big float numbertakkaw
2014-02-09Merge pull request #1674 from cremno/mrb_bool-FALSE-TRUEYukihiro "Matz" Matsumoto
2014-02-06Merge pull request #1688 from cubicdaiya/issues/unnecessary_semicolonYukihiro "Matz" Matsumoto
2014-02-06remove unnecessary semicoloncubicdaiya
2014-02-06use mrb_str_new_lit() more widelyYukihiro "Matz" Matsumoto
2014-02-03add Float#nan?Tomoyuki Sahara
2014-01-31use mrb_bool, FALSE and TRUE morecremno