| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I have an ancient branch (#6913) which rewrites much of this but I got stuck on dtoa impl. We know this is horrifically messy and your fix looks fine even if it "maybe" could be somewhere else. As it stands this fixes the issue with new specs. LGTM. Also you may be passing some more tests in test/mri/ruby/test_sprintf_comb.rb (another fun piece of code). |
Sorry, something went wrong.
I fixed this in jruby/jruby#8769
| Back | FazBrowse Home | New Git URL |
In that case, nothing is written. It's documented: https://docs.ruby-lang.org/en/3.4/format_specifications_rdoc.html#:~:text=if%20the%20precision%20is%200%20and%20the%20value%20is%200%2C%20nothing%20is%20written
NOTE: I found this code quite hard to follow and there was at least one other place I contemplated implementing a fix. Not sure if what I chose is in fact the best place for a fix.