diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-19 01:47:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-19 01:47:06 +0000 |
commit | 5cd2d58396dbccda7b4187d60063bdc234acd861 (patch) | |
tree | 7ab1eefe7852e80267da28cdc00e6a915579917c /ChangeLog | |
parent | 8b9afe6520eddc81c7edb1328f1543e9df7fea2f (diff) | |
download | ruby-5cd2d58396dbccda7b4187d60063bdc234acd861.tar.gz |
test_math.rb: use Float#infinite?
* test/ruby/test_math.rb (TestMath#assert_infinity): Float#finite?
returns true also for NaN, so use Float#infinite? instead.
[ruby-core:65117] [Feature #10261]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Fri Sep 19 10:47:03 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * test/ruby/test_math.rb (TestMath#assert_infinity): Float#finite? + returns true also for NaN, so use Float#infinite? instead. + [ruby-core:65117] [Feature #10261] + Fri Sep 19 05:36:16 2014 Eric Wong <e@80x24.org> * NEWS: note --with-jemalloc option [ci skip] |