Document: WG14 N1429


Submitter: Fred J. Tydeman (USA)
Submission Date: 2009-12-01
Subject: fabs

Background: IEEE-754-1985 suggests and IEEE-754-2008 requires fabs(NaN) to affect just the sign bit.

Add to F.9.4.2 the fabs functions a new bullet:

-- fabs(NaN) returns the same NaN with its sign bit set to 0 (positive).

Add to Raionale:

In IEEE-754, fabs() is considered a sign bit operation that affects only the sign bit.