Effects of newly introduced -mpcX 80387 precision flag

Uros Bizjak ubizjak@gmail.com
Fri May 4 10:19:00 GMT 2007


Bradley Lucier wrote:

>>
>>>> What about "significant loss of accuracy" as these options probably 
>>>> won't cause a nuclear reactor meltdown ;)
>>>
>>> Well, I did some googling, and the technical term I was thinking of 
>>> was "catastrophic cancellation".  So how about
>>>
>>> Note that some mathematical routines in such libraries could suffer 
>>> significant loss of accuracy, typically through so-called 
>>> "catastrophic cancellation", when this option is used to set the 
>>> precision to less than extended precision.
>>
>> I think this is OK. So if nobody objects, this patch is OK for mainline.
>
> I'm sorry, but I don't have checkin privileges.

I have committed following patch attached patch in your name:

2007-05-04  Bradley Lucier  <lucier@math.purdue.edu>

        * doc/invoke.texi (i386 and x86-64 Options) [-mpc32, -mpc64, 
-mpc80]:
        Add the note about a significant loss of accuracy of some
        mathematical routines when these options are used.

Patch was tested by building the documentation.

Uros.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1832 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20070504/752b5bd5/attachment.bin>


More information about the Gcc mailing list