Re: need help for arithmetic conversion about gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Xiaofeng <dolphin.feng@xxxxxxx> writes:

> So dose this mean gcc handles them (i.e., addition and multiplication) differently because it trys to optimies the addition and trys to make the multiplication have higher precision ?

gcc always tries to get the correct result as specified by the language
standard.  You have to start from there.  Then you can consider how to
optimize the computation.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux