General

Profile

unclekiki (Kieran McCusker)

  • Login: unclekiki
  • Registered on: 07/04/2016
  • Last sign in: 07/11/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

07/12/2018

07:53 AM Ruby Bug #12548: Rounding modes inconsistency between round versus sprintf
Ok
How about listing them in the format
name ......... height (rounded to whole centimetre)
sprintf would seem a great choice for that but fails due to it's rounding choices. By the way, I noticed this in the first place because...
unclekiki (Kieran McCusker)

07/11/2018

12:33 PM Ruby Bug #12548: Rounding modes inconsistency between round versus sprintf
It is a real bug, it's just that, as I have said before, the "fix" took the wrong direction. sprintf should behave like round (as it does, or at least did, in jruby with no apparent issues). Round even is a very specialised use case.
...
unclekiki (Kieran McCusker)

02/19/2018

10:46 AM Ruby Bug #12548: Rounding modes inconsistency between round versus sprintf
Hi again
After I raised this bug and saw the comment from matz I stopped watching assuming that sprintf would be "fixed" not that round would be changed instead. IEEE 754 is useful when you are taking them mean of a large number of ro...
unclekiki (Kieran McCusker)

07/05/2016

09:07 AM Ruby Bug #12548: Rounding modes inconsistency between round versus sprintf
Having read a bit more I see that there are indeed multiple possible ways of handling tie-breaking i.e. when a value is n.5, but is it reasonable for two implementations in ruby core (sprintf and round) to use a different method? It's at... unclekiki (Kieran McCusker)

07/04/2016

09:20 AM Ruby Bug #12548 (Closed): Rounding modes inconsistency between round versus sprintf
Hi
I've found this possible bug with `sprintf` in our production code, but it
seems very odd that no one has reported it so I'm doubting myself.
I've tested a few versions (CRuby 2.3.1 and 2.1.9) and it was present in
both.
To...
unclekiki (Kieran McCusker)

Also available in: Atom