path: root/test/ruby/test_math.rb
AgeCommit message (Expand)Author
2018-06-06math.c: adjust cbrtnobu
2016-08-02math.c: tanh overflownobu
2016-05-17Use Integer instead of Fixnum and Bignum.akr
2016-04-05math.c: fix lgammanobu
2016-04-05math.c: fix tgammanobu
2016-02-22* test/ruby/test_math.rb: use 64 bits in test_override_bignum_to_fheadius
2016-02-22* test/ruby/test_math.rb: override tests must always put to_f backheadius
2016-02-19test/ruby: suppress runtime warningsnobu
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-03-16* math.c (math_log1, math_log2, math_log10): refactoringgogotanaka
2015-03-14* math.c (math_gamma): optimization for passed small integer.gogotanaka
2015-03-10test_math.rb: to_f testsnobu
2015-03-04* test/ruby/test_math.rb (assert_float_and_int): Refactor test casesgogotanaka
2015-03-03* test/ruby/test_math.rb: add tests for the above change.gogotanaka
2015-02-24* test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...gogotanaka
2015-02-24* test/ruby/test_math.rb(test_cbrt): Add an assertion for Math.cbrt(1.0/0)gogotanaka
2014-09-19test_math.rb: use Float#infinite?nobu
2014-05-04math.c: C99-like atan2nobu
2014-05-03test_math.rb: rename check as assert_floatnobu
2014-05-03math.c: check domain of base argumentnobu
2013-12-13test/ruby: better assertionsnobu
2013-09-28math.c: fix for Bignum argumentnobu
2010-08-27* math.c (math_atan2): change the behavior when x and y are zero.mrkn
2010-04-06Surpress warnings.naruse
2010-03-02* test/ruby/test_math.rb: Fix lgamma testmarcandre
2010-02-28* math.c (rb_eMathDomainError): new exception class for representing mathemat...muraken
2009-10-04add assertion message.akr
2009-09-02* math.c (math_gamma): get rid of direct comparison between toonobu
2008-09-21 * math.c (math_log): should check argc.tadf
2008-07-28* math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).naruse
2008-03-06* missing/lgamma_r.c (loggamma): return 0 for 1 and 2.akr
2008-02-14* test/ruby/test_math.rb: actual-expected argument ordering formatz
2008-02-09* test/ruby/test_math.rb: add tests for Math#gamma, Math#lgamma andmame
2008-01-23* test/ruby/test_struct.rb: add tests to achieve over 90% testmame
2004-02-18 * test/*: should not depend on $KCODE.nahi
2003-09-05* lib/optparse.rb (OptionParser#order, #permute, #parse): allow annobu
2003-09-05* test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'nahi
2003-09-04* test/ruby: tests for ruby itself.nahi