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]

Re: Problem on i386 with -fpic -fomit-frame-pointer


Richard Henderson wrote:
> We do not attempt to recognize them, primarily because the
> actual fpu constants are long double constants, and would
> not be appropriate for substitution for the other precisions.

Fair enough, but isn't M_PI specified as a long double in math.h
(3.14159265358979323846 for Sun).  Wouldn't this cause problems for
either float or double (or long double if I got the size/type of M_PI
wrong)?  If not, where's the error in my thinking?  Or is it a `don't do
that [unless you know what you're doing]' issue (like trying to compare
x==0.1)?

Bill
-- 
Leave others their otherness


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