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
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
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
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
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
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
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
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
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;