Displaying 3 results from an estimated 3 matches for "5e14fc31".
Did you mean:
5e14fc32
2020 Nov 17
3
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...ormat.c:scientific(). The
lowest two+ bytes in the fractional part of the long double (80-bit)
return value of powl(10.0L, -30L), seem to be corrupted. I made a
standalong program to test powl and saw no problem - it gives the
same results for the fractional part as bc does.
bc: A2425FF7 5E14FC31 A125...
standalone: 22425FF7 5E14FC32
R: 22425FF7 5E151800
There are lots of other small numbers with the same problem:
> grep(value=TRUE, "0e",
vapply((1+(0:10000)/1000)*1e-15, deparse, ""))
[1] "8.56000000000000e-15" "...
2020 Nov 18
2
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...e fractional part of the long double (80-bit)
> > return value of powl(10.0L, -30L), seem to be corrupted. I made a
> > standalong program to test powl and saw no problem - it gives the
> > same results for the fractional part as bc does.
> >
> > bc: A2425FF7 5E14FC31 A125...
> > standalone: 22425FF7 5E14FC32
> > R: 22425FF7 5E151800
> >
> > There are lots of other small numbers with the same problem:
> >
> >
> > > grep(value=TRUE, "0e",
> > vapply((1+(0:10000)/1...
2020 Nov 18
0
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...; lowest two+ bytes in the fractional part of the long double (80-bit)
> return value of powl(10.0L, -30L), seem to be corrupted. I made a
> standalong program to test powl and saw no problem - it gives the
> same results for the fractional part as bc does.
>
> bc: A2425FF7 5E14FC31 A125...
> standalone: 22425FF7 5E14FC32
> R: 22425FF7 5E151800
>
> There are lots of other small numbers with the same problem:
>
>
> > grep(value=TRUE, "0e",
> vapply((1+(0:10000)/1000)*1e-15, deparse, ""))
>...