Skip to content

Fix Float#round with half even option#7591

Merged
enebo merged 1 commit intojruby:masterfrom
k77ch7:ruby-3.1-fix-float-round-half-even
Jan 23, 2023
Merged

Fix Float#round with half even option#7591
enebo merged 1 commit intojruby:masterfrom
k77ch7:ruby-3.1-fix-float-round-half-even

Conversation

@k77ch7
Copy link
Contributor

@k77ch7 k77ch7 commented Jan 22, 2023

This change is porting from mri(numeric.c on master). Mri 3.1 and 3.2 have not been backported yet.

The following tests will pass.

  • spec/ruby/core/float/round_spec.rb

See https://bugs.ruby-lang.org/issues/19318 .

@ahorek ahorek added this to the JRuby 9.4.1.0 milestone Jan 22, 2023
This change is porting from mri(numeric.c on master).
Mri 3.1 and 3.2 have not been backported yet.

The following tests will pass.
 * spec/ruby/core/float/round_spec.rb
@k77ch7 k77ch7 force-pushed the ruby-3.1-fix-float-round-half-even branch from c8c33dd to 0eeb827 Compare January 22, 2023 15:19
@enebo enebo merged commit 7ad1fbe into jruby:master Jan 23, 2023
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.

3 participants