This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: when is a double float nearest infinity ?
- From: Tim Prince <tprince at myrealbox dot com>
- To: Tim Prince <tprince at myrealbox dot com>
- Cc: Christian Bruel <chrbr at free dot fr>, gcc-help at gcc dot gnu dot org
- Date: Sat, 20 Jan 2007 06:31:42 -0800
- Subject: Re: when is a double float nearest infinity ?
- References: <45B1FA7C.9040403@free.fr> <45B217BF.2080606@myrealbox.com>
Tim Prince wrote:
Christian Bruel wrote:
attached example compiled with gcc testinf.c -pedantic -ansi -O2
No problem with your gcc command. Guessing about glibc is somewhat
beyond the scope of gcc-help.
-mfpmath=sse or -ffloat-store might avoid inadvertent implicit promotion
to long double.