Re: On writing negative zero - with or without sign

James Giles wrote:

Gary Scott wrote:

The default should probably be whatever the common behavior currently
is. That way it breaks less existing code.

The always outputting minus if the data is negative is the default.

ok, but all of my existing compilers print -0.0 as just 0.0.


Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library:

Support the Original G95 Project:
Support the GNU GFortran Project:

If you want to do the impossible, don't hire an expert because he knows it can't be done.

-- Henry Ford