2a0 Subj : Re: Proper behavior of uneval(-0.0) ? To : Brendan Eich From : Igor Bukanov Date : Wed Nov 12 2003 10:38 pm Brendan Eich wrote: > Igor Bukanov wrote: > >> >> Currently in SM uneval(-0.0) gives "0". Should it be "-0.0" instead? > > > > Whatever we do with the sign, I see no reason to preserve the .0 after > the 0, or any other spelling (-0.0000, e.g.). -0 would be fine of cause as all numbers in JS are double values but after programming in typed languages where -0 would just mean integer zero while -0.0 gives that negative double zero it is hard to write simply -0. Regards, Igor . 0