signed zeros
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Jul 30 02:12:00 GMT 2010
On Thu, Jul 29, 2010 at 08:37:40PM -0400, Jack Howarth wrote:
> On Thu, Jul 29, 2010 at 05:22:06PM -0700, Steve Kargl wrote:
> >
> > Just use the -fno-sign-zero option.
>
> This option seems like taking a sledgehammer to a simple
> i/o issue...
>
> -fno-signed-zeros
> Allow optimizations for floating point arithmetic that ignore the signedness of zero. IEEE arithmetic specifies the behavior of distinct +0.0 and -0.0 values, which then
> prohibits simplification of expressions such as x+0.0 or 0.0*x (even with -ffinite-math-only). This option implies that the sign of a zero result isn't significant.
>
> The default is -fsigned-zeros.
>
Check your spelling. -fno-sign-zero /= -fno-signed-zeros.
--
Steve
More information about the Fortran
mailing list