From ggrothendieck at gmail.com  Sat Aug  8 18:19:19 2009
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sat, 8 Aug 2009 12:19:19 -0400
Subject: [Rd] identical(0, -0)
In-Reply-To: <4A7D8E08.2070300@uottawa.ca>
References: <mailman.23.1249725606.24224.r-devel@r-project.org> 
	<4A7D8E08.2070300@uottawa.ca>
Message-ID: <971536df0908080919k57678041m199fa4c94ee2d7@mail.gmail.com>

On Sat, Aug 8, 2009 at 10:39 AM, Prof. John C Nash<nashjc at uottawa.ca> wrote:
> I would urge inclusion in the documentation of the +0, -0 example(s) if
> there is NOT a way in R to distinguish these. There are occasions where it

For single numbers try this:

x <- +0
y <- -0
identical(x, y) && identical(1/x, 1/y) # FALSE



[Rd] identical(0, -0)
Gabor Grothendieck