[Bug 586087] Re: Luid: floating point operations seems not to match specification

2011-10-07 Thread Lucas Nussbaum
was reported upstream. ** Changed in: ruby1.9.1 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/586087 Title: Luid: floating point operations seems not to match

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2011-03-27 Thread robbie
I gotta admit it went unanswered for so long I just stopped paying attention. In fact I dont have ubuntu on my primary machine anymore, just my father's here. :P I'm afraid I can't offer my old G5 to further debug the problem either. Please don't request they close my launchpad account though, I s

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2011-03-25 Thread Lucas Nussbaum
robbie, again, could you give us a pointer to the discussion on redmine ? Is this fixed in 1.9.2-p0 ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/586087 Title: Luid: floating point operations seem

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2010-11-01 Thread Lucas Nussbaum
Could you give us a pointer to the discussion on redmine ? Is this fixed in 1.9.2-p0 ? -- Luid: floating point operations seems not to match specification https://bugs.launchpad.net/bugs/586087 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2010-06-03 Thread robbie
this bug has two parts really. one part is external to ruby, the other is internal to it. the external part is a problem with the kernel not conforming to ieee 754 floating point standards the register has a smaller significand than is expressed in the standard. It should have 16 significant

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2010-05-29 Thread robbie
I just noticed that lib6-ppc64 is -not- installed by default on the powerpc64-smp architecture. I may be missing some library. -- Luid: floating point operations seems not to match specification https://bugs.launchpad.net/bugs/586087 You received this bug notification because you are a member of

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2010-05-27 Thread robbie
IEEE754 says doubles are supposed to provide 16 significant digits: Correctly rounded results can be obtained by converting to decimal and back again to the binary format using: 5 decimal digits for binary16 9 decimal digits for binary32 17 decimal digits for binary64 36 decimal digits for binary

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2010-05-27 Thread robbie
reading about the ansi standard, typically doubles only support 15 significant digits. The error occurs at the 16th digit (in the C code): 8.40e+00 8.4056843418860808014869689941406250e+00 8.4056843418860808014869689941406250e+00 sizeof doubles 8 sizeof long dou

[Bug 586087] Re: Luid: floating point operations seems not to match specification

2010-05-26 Thread robbie
oops, typo crept into that C code .. here's the correction: 8.40e+00 8.40568434e+00 fp.c ยทยท #include #include int main(){ double cien = 100.0; double frac = 91.6; printf("%e\n", cien - frac); printf("%.20e\n", cien - frac); return 0;