Even if IEEE 754 uses two different 0.0 (positive and negative) I think
that .positive? and .negative? methods should return false. this should not
be confused with the internal aspects of Ruby and the use of IEEE 754 (In
my own opinion).

2011/11/16 Haase, Konstantin <Konstantin.Haase / student.hpi.uni-potsdam.de>

> I think you would need to different 0.0s.
>
> Konstantin
>
> On Nov 16, 2011, at 12:30 , Jos=E9 Francisco Calvo Moreno wrote:
>
> > Do you suggest the following?
> >
> > 0.0.positive? =3D> true
> > 0.0.negative? =3D> true
> >
> > 2011/11/15 NARUSE, Yui <naruse / airemix.jp>
> > On IEEE 754 Floating Point Numbers, there are positive 0.0 and negative
> 0.0.
> >
> > --
> > NARUSE, Yui  <naruse / airemix.jp>
> >
> >
>
>
>