Subject: Re: floating point negative zero in awk
To: Jason Thorpe <thorpej@shagadelic.org>
From: Simon Burge <simonb@NetBSD.org>
List: tech-userlevel
Date: 08/28/2007 13:04:32
Jason Thorpe wrote:

> No objection from me.  Does POSIX have anything to say about this?   
> What does GNU AWK do?

SUSv3 helpfully only says "All arithmetic shall follow the semantics of
floating-point arithmetic asspecified by the ISO C standard." and makes
no specific references to -0, zero or floating point that I can see.

Cheers,
Simon.