summaryrefslogtreecommitdiff
path: root/test/ruby/test_math.rb
Commit message (Expand)AuthorAgeFilesLines
* Add domain check macrosNobuyoshi Nakada2021-07-041-1/+20
* Removed extra double quotes from domain error messagesNobuyoshi Nakada2021-07-041-16/+16
* Fix Math.cbrt(0.0) on glibcJeremy Evans2021-05-081-0/+1
* math.c: adjust cbrtnobu2018-06-061-0/+1
* math.c: tanh overflownobu2016-08-021-0/+2
* Use Integer instead of Fixnum and Bignum.akr2016-05-171-5/+5
* math.c: fix lgammanobu2016-04-051-0/+5
* math.c: fix tgammanobu2016-04-051-0/+4
* * test/ruby/test_math.rb: use 64 bits in test_override_bignum_to_fheadius2016-02-221-2/+2
* * test/ruby/test_math.rb: override tests must always put to_f backheadius2016-02-221-3/+3
* test/ruby: suppress runtime warningsnobu2016-02-191-3/+3
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * math.c (math_log1, math_log2, math_log10): refactoringgogotanaka2015-03-161-0/+3
* * math.c (math_gamma): optimization for passed small integer.gogotanaka2015-03-141-0/+2
* test_math.rb: to_f testsnobu2015-03-101-5/+12
* * test/ruby/test_math.rb (assert_float_and_int): Refactor test casesgogotanaka2015-03-041-46/+21
* * test/ruby/test_math.rb: add tests for the above change.gogotanaka2015-03-031-0/+21
* * test/ruby/test_math.rb: Use assert_infinity instead of assert_equal(1.0/0, ...gogotanaka2015-02-241-4/+33
* * test/ruby/test_math.rb(test_cbrt): Add an assertion for Math.cbrt(1.0/0)gogotanaka2015-02-241-7/+8
* test_math.rb: use Float#infinite?nobu2014-09-191-1/+1
* math.c: C99-like atan2nobu2014-05-041-4/+9
* test_math.rb: rename check as assert_floatnobu2014-05-031-1/+2
* math.c: check domain of base argumentnobu2014-05-031-0/+2
* test/ruby: better assertionsnobu2013-12-131-4/+4
* math.c: fix for Bignum argumentnobu2013-09-281-0/+3
* * math.c (math_atan2): change the behavior when x and y are zero.mrkn2010-08-271-1/+4
* Surpress warnings.naruse2010-04-061-8/+8
* * test/ruby/test_math.rb: Fix lgamma testmarcandre2010-03-021-1/+0
* * math.c (rb_eMathDomainError): new exception class for representing mathemat...muraken2010-02-281-12/+39
* add assertion message.akr2009-10-041-2/+3
* * math.c (math_gamma): get rid of direct comparison between toonobu2009-09-021-0/+11
* * math.c (math_log): should check argc.tadf2008-09-211-0/+1
* * math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).naruse2008-07-281-0/+4
* * missing/lgamma_r.c (loggamma): return 0 for 1 and 2.akr2008-03-061-1/+2
* * test/ruby/test_math.rb: actual-expected argument ordering formatz2008-02-141-25/+25
* * test/ruby/test_math.rb: add tests for Math#gamma, Math#lgamma andmame2008-02-091-1/+62
* * test/ruby/test_struct.rb: add tests to achieve over 90% testmame2008-01-231-6/+167
* * test/*: should not depend on $KCODE.nahi2004-02-181-2/+0
* * lib/optparse.rb (OptionParser#order, #permute, #parse): allow annobu2003-09-051-3/+3
* * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'nahi2003-09-051-2/+2
* * test/ruby: tests for ruby itself.nahi2003-09-041-0/+14