Show the sign for NaN as per POSIX; from Elliott Hughes.

ok martynas@, millert@, doug@