[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60902] [ruby-trunk - Bug #9540] [Open] Number formatting with 4.225 fails
From:
smar@...
Date:
2014-02-20 09:34:43 UTC
List:
ruby-core #60902
Issue #9540 has been reported by Samu Voutilainen. ---------------------------------------- Bug #9540: Number formatting with 4.225 fails https://bugs.ruby-lang.org/issues/9540 * Author: Samu Voutilainen * Status: Open * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Hi, When I’m trying to floor number with line “"%.2f" % 4.225”, I get 4.22 as result, instead of 4.23. Rounding for example with 0.025 correctly results to 0.03. I tested this with both newest 2.0.0 patchset build and 2.1.0. Some example output done with irb: <pre> irb(main):016:0> "%.2f" % 4.2251 => "4.23" irb(main):017:0> "%.2f" % 4.2250 => "4.22" irb(main):018:0> "%.2f" % 4.225 => "4.22" irb(main):011:0> "%.2f" % 0.035 => "0.04" irb(main):012:0> "%.2f" % 0.025 => "0.03" </pre> -- http://bugs.ruby-lang.org/