Skip to content

Fix Complex#finite? and Complex#infinite? failing tests#5101

Merged
headius merged 2 commits intojruby:ruby-2.5from
ChrisBr:complex/finite
Mar 21, 2018
Merged

Fix Complex#finite? and Complex#infinite? failing tests#5101
headius merged 2 commits intojruby:ruby-2.5from
ChrisBr:complex/finite

Conversation

@ChrisBr
Copy link
Contributor

@ChrisBr ChrisBr commented Mar 21, 2018

test/mri/ruby/test_complex.rb#test_infinite_p and test/mri/ruby/test_complex.rb#test_infinite_p were failing.

See in MRI
ruby/ruby@65d7479
ruby/ruby@241ba38

ChrisBr added 2 commits March 21, 2018 23:04
to use real and image value instead of the magnitude to check for finite.
See ruby/ruby@241ba38 in MRI.
and use real and imagine values instead of magnitude to check for infinite.
See ruby/ruby@65d7479 in MRI.
@headius headius merged commit 21f0aa0 into jruby:ruby-2.5 Mar 21, 2018
@headius headius added this to the JRuby 9.2.0.0 milestone Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants