Displaying 3 results from an estimated 3 matches for "22425ff7".
2020 Nov 17
3
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...west 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" "8.71700000000000e-15" &q...
2020 Nov 18
2
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...0-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, ""))
>...
2020 Nov 18
0
formatting issue with gcc 9.3.0 on Ubuntu on WSL2
...nal 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&qu...