commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [lang] Fractions
Date Thu, 14 Aug 2003 00:12:12 GMT

My mistake. Are we talking about 0/0 ?

I was thinking 0/x. 0/0 is as Phil says, unknown until you differentiate.

1 is a nice answer as it is a nice average for a slope. Slope is a
positive fraction, and 1 is the middle number out of the positive
fractions. Not the mathematical way I know, but it just struck me while
reading Phil's email and I think it's quite a cute way to explain it :)

Hen

On Wed, 13 Aug 2003, Phil Steitz wrote:

> Age old question.  From a purely mathematical standpoint, this is an
> "indeterminate form" -- i.e. not strictly meaningful other than as a limit.
>
> There are decent practical arguments, however, for assigning the value 1.
> See http://mathforum.org/dr.math/faq/faq.0.to.0.power.html for some
> references.
>
> I could support either leaving as is (with the doc that I added) or
> throwing ArithmeticException, but I would prefer to leave it as is.
>
> Phil
> --- Stephen Colebourne <scolebourne@btopenworld.com> wrote:
> > Patch applied.
> >
> > Q: Is a zero fraction to the power of one == one ???
> >
> > If not, the code is wrong.
> >
> > Stephen
> >
> > ----- Original Message -----
> > From: "Phil Steitz" <steitzp@yahoo.com>
> > To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>;
> > <steve@mungoknotwise.com>
> > Sent: Wednesday, August 13, 2003 5:46 PM
> > Subject: RE: [lang] 2.0 left to do
> >
> >
> > >
> > >
> > > Just attached a patch here:
> > >
> > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22386
> > >
> > > to document the continued fraction implementation in
> > > Fraction.getFraction(double) and also to control integer overflows.
> > >
> > > At the very least, the overflow situation needs to be documented.  The
> > > patch modifies methods to throw ArithmeticException when this occurs.
> > >
> > > Phil
> > > --- Steven Caswell <steve@mungoknotwise.com> wrote:
> > > >
> > > >
> > > >
> > > > Steven Caswell
> > > > steve@mungoknotwise.com
> > > > a.k.a Mungo Knotwise of Michel Delving
> > > > "One ring to rule them all, one ring to find them..."
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Gary Gregory [mailto:ggregory@seagullsw.com]
> > > > > Sent: Tuesday, August 12, 2003 7:55 PM
> > > > > To: 'Jakarta Commons Developers List'
> > > > > Subject: RE: [lang] 2.0 left to do
> > > > >
> > > > >
> > > > > As far as I can tell, we are here:
> > > > >
> > > > > To do:
> > > > >
> > > > > 1.1) Steven Caswell [steve@mungoknotwise.com]:
> > > > > "NestableDelegate test cases"
> > > >
> > > > Several tests to write here, mostly to increase the coverage. Would
> > be
> > > > good
> > > > to get into 2.0, but I don't think it should delay the release.
> > > >
> > > > > 1.2) Steven Caswell [steve@mungoknotwise.com]: "I need to
> > > > > apply the patch from DateUtils testing (will do that this
> > > > > afternoon)."
> > > > >
> > > > > Was that done in DateUtils version 1.11?
> > > >
> > > > Yes.
> > > >
> > > > >
> > > > >  2) #22172 needs resolving. Timezone bug.
> > > > >  3) Pete Gieser's javadoc patches.
> > > > >  4) Update RELEASE-NOTES
> > > > >  5) Release RC2
> > > > >  6) Check RC2 feels good.
> > > > >  6) Release 2.0
> > > > >  7) Update website/xdocs
> > > > >  8) Create JDiff for website
> > > > >
> > > > >
> > > > > Done:
> > > > >
> > > > >  1) Gary's query on private CharSet.DASH/NEGATE.
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Henri Yandell [mailto:bayard@generationjava.com]
> > > > > > Sent: Wednesday, August 06, 2003 20:18
> > > > > > To: Jakarta Commons Developers List
> > > > > > Subject: [lang] 2.0 left to do
> > > > > >
> > > > > >
> > > > > > Back from conference :)
> > > > > >
> > > > > > Reviewing emails, I think this is the list of things left to
> > handle?
> > > > > >
> > > > > > 1) Gary's query on private CharSet.DASH/NEGATE.
> > > > > > 2) #22172 needs resolving. Timezone bug.
> > > > > > 3) Pete Gieser's javadoc patches.
> > > > > > 4) Update RELEASE-NOTES
> > > > > > 5) Release RC2
> > > > > > 6) Check RC2 feels good.
> > > > > > 6) Release 2.0
> > > > > > 7) Update website/xdocs
> > > > > > 8) Create JDiff for website
> > > > > >
> > > > > >
> > > > > > Anything I've missed?
> > > > > >
> > > > > > 2 is the only major one to handle. 1 does not influence the
> > public
> > > > > > API, and 3 depends on whether Pete can get his patch in etc.
Is 2
> > > > > > closed?
> > > > > >
> > > > > > Hen
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail:
> > commons-dev-unsubscribe@jakarta.apache.org
> > > > > > For additional commands, e-mail:
> > commons-dev-help@jakarta.apache.org
> > > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > > http://sitebuilder.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


Mime
View raw message