This is the mail archive of the mailing list for the libstdc++ 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: [v3] Possible fix for PR 5730

On Thu, Mar 20, 2003 at 11:36:51PM +0100, Gabriel Dos Reis wrote:
> Phil Edwards <phil at jaj dot com> writes:
> | > | > Now, I realize the macro __FAST_MATH__ may not be defined with
> | > | > definite value -- that is really sad.  
> | 
> | I believe you are mistaken here.  It's defined exactly as if you had written
> | 
> |     #define __FAST_MATH__
> | 
> | in normal code, i.e., the value is 1 by default.
> But that is insufficiant for use in the code I posted.  The reason
> being that when it is not defined you get a hard error.

Sorry, hadn't found that message yet.

Certainly, then,

	#ifdef __FAST_MATH__
	# define _GLIBCPP_FAST_MATH 1
	# define _GLIBCPP_FAST_MATH 0

makes the most sense.  For now I'd suggest putting it in std_complex.h
unless we also find a use for it elsewhere.


If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams

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