commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [Math] Fraction parsing bug?
Date Thu, 01 Dec 2011 15:26:50 GMT
Hello.

> 
> > 
> > Should the "Fraction" type be able to represent
> >   -0 / 1
> > and keep a record of the sign, such that, if "c" is the above
> > fraction,
> >   1d / c.doubleValue()
> > is equals "Double.NEGATIVE_INFITNITY"?
> 
> IMHO, no.
> [...]

OK.
I've added a few (trivial) unit tests in revision 1209119.


Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message