[Bug libquadmath/83800] [libquadmath] M_SQRT2q & sqrtq(2.0Q) off by one ULP ?

2018-01-11 Thread sisyphus1 at optusnet dot com.au
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83800 --- Comment #2 from sisyphus1 at optusnet dot com.au --- The issue with sqrtq() is more widespread than I expected. Checking the square roots of the integer values from 2 to 300, I found that sqrtq differs from mpfr for 2, 6, 8, 13, 15, 19, 24

[Bug c/83800] New: [libquadmath] M_SQRT2q & sqrtq(2.0Q) off by one ULP ?

2018-01-11 Thread sisyphus1 at optusnet dot com.au
: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sisyphus1 at optusnet dot com.au Target Milestone: --- Hi, Why does quadmath.h define M_SQRT2q to be 1.4142135623730950488016887242096981Q (0x1.6a09e667f3bcc908b2fb1366ea96p+0) when a closer approxima

[Bug c/80692] New: _Decimal64 -0 != 0 unless optimization is turned off

2017-05-09 Thread sisyphus1 at optusnet dot com.au
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sisyphus1 at optusnet dot com.au Target Milestone: --- Created attachment 41334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41334=edit C program exhibits bug if compiled with optimization Hi, The attac

[Bug c/77265] New: Casting an extended precision long double "inf" to __float128 results in "nan"

2016-08-16 Thread sisyphus1 at optusnet dot com.au
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sisyphus1 at optusnet dot com.au Target Milestone: --- Created attachment 39463 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39463=ed