You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stephen Colebourne <sc...@btopenworld.com> on 2003/08/14 01:52:37 UTC

Re: [lang] Fractions

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" <st...@yahoo.com>
To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
<st...@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 <st...@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
>


Re: [lang] Fractions

Posted by Stephen Colebourne <sc...@btopenworld.com>.
Leave as is then
Stephen

----- Original Message -----
From: "Henri Yandell" <ba...@generationjava.com>
To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>
Sent: Thursday, August 14, 2003 1:12 AM
Subject: Re: [lang] Fractions


>
> 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 <sc...@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" <st...@yahoo.com>
> > > To: "Jakarta Commons Developers List"
<co...@jakarta.apache.org>;
> > > <st...@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 <st...@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
> >
>
>
> ---------------------------------------------------------------------
> 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


Re: [lang] Fractions

Posted by Stephen Colebourne <sc...@btopenworld.com>.
Leave as is then
Stephen

----- Original Message -----
From: "Henri Yandell" <ba...@generationjava.com>
To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>
Sent: Thursday, August 14, 2003 1:12 AM
Subject: Re: [lang] Fractions


>
> 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 <sc...@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" <st...@yahoo.com>
> > > To: "Jakarta Commons Developers List"
<co...@jakarta.apache.org>;
> > > <st...@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 <st...@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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


Re: [lang] Fractions

Posted by Henri Yandell <ba...@generationjava.com>.
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 <sc...@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" <st...@yahoo.com>
> > To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
> > <st...@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 <st...@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
>


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


Re: [lang] Fractions

Posted by Henri Yandell <ba...@generationjava.com>.
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 <sc...@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" <st...@yahoo.com>
> > To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
> > <st...@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 <st...@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
>


Re: [lang] Fractions

Posted by Phil Steitz <st...@yahoo.com>.
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 <sc...@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" <st...@yahoo.com>
> To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
> <st...@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 <st...@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


Re: [lang] Fractions

Posted by Henri Yandell <ba...@generationjava.com>.
I hope not.

0^x=0
x^0=1

looks like a good excuse for a nice looping unit test :) -10->10 for each,
cover the boundary case or some such.

On Thu, 14 Aug 2003, Stephen Colebourne 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" <st...@yahoo.com>
> To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
> <st...@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 <st...@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
>


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


Re: [lang] Fractions

Posted by Phil Steitz <st...@yahoo.com>.
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 <sc...@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" <st...@yahoo.com>
> To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
> <st...@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 <st...@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

Re: [lang] Fractions

Posted by Henri Yandell <ba...@generationjava.com>.
I hope not.

0^x=0
x^0=1

looks like a good excuse for a nice looping unit test :) -10->10 for each,
cover the boundary case or some such.

On Thu, 14 Aug 2003, Stephen Colebourne 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" <st...@yahoo.com>
> To: "Jakarta Commons Developers List" <co...@jakarta.apache.org>;
> <st...@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 <st...@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
>