This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: g++ optimization issue??


> -----Original Message-----
> From: ColinLaney 
> Sent: 17 December 2004 12:36

> I am aware of fp issues. I just don't understand why the compiler
> generates code that is not.
> 

  Because it isn't possible?  FP is not real mathematics over the rational
number field, it is a finite approximation.  If you really want absolute
precision and accuracy, you need to use a proper arbitrary-precision bignum
library, such as GMP.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]