Re: svn commit: r1179928 - in [...]

2011-10-09 Thread Gilles Sadowski
> > [...] > >> The reason that I wanted to point out the top coding was that I > >> thought it might be possible results that were equal, but had > >> different internal representations could be returned over the > >> interval (-1E-9, 1E-9), where the actual value is close to but less > >> than 1.

Re: svn commit: r1179928 - in [...]

2011-10-09 Thread Phil Steitz
On 10/9/11 9:38 AM, Gilles Sadowski wrote: > On Sun, Oct 09, 2011 at 07:45:51AM -0700, Phil Steitz wrote: >> On 10/9/11 5:09 AM, Gilles Sadowski wrote: >>> On Sun, Oct 09, 2011 at 10:32:38AM +0200, Sébastien Brisard wrote: > Answering with a few examples: > x=1.00e-15 f=1.00

Re: svn commit: r1179928 - in [...]

2011-10-09 Thread Gilles Sadowski
On Sun, Oct 09, 2011 at 07:45:51AM -0700, Phil Steitz wrote: > On 10/9/11 5:09 AM, Gilles Sadowski wrote: > > On Sun, Oct 09, 2011 at 10:32:38AM +0200, Sébastien Brisard wrote: > >>> Answering with a few examples: > >>> x=1.00e-15 f=1.00e+00 > >>> s=1.00

Re: svn commit: r1179928 - in [...]

2011-10-09 Thread Phil Steitz
On 10/9/11 5:09 AM, Gilles Sadowski wrote: > On Sun, Oct 09, 2011 at 10:32:38AM +0200, Sébastien Brisard wrote: >>> Answering with a few examples: >>> x=1.00e-15 f=1.00e+00 >>> s=1.00e+00 >>> x=5.001000e-15 f=1.00e+00 >>>

Re: svn commit: r1179928 - in [...]

2011-10-09 Thread Gilles Sadowski
On Sun, Oct 09, 2011 at 10:32:38AM +0200, Sébastien Brisard wrote: > > > > Answering with a few examples: > > x=1.00e-15 f=1.00e+00 > > s=1.00e+00 > > x=5.001000e-15 f=1.00e+00 > > s=1.00e+00 > > x=2.5

Re: svn commit: r1179928 - in [...]

2011-10-09 Thread Sébastien Brisard
> > Answering with a few examples: > x=1.00e-15 f=1.00e+00 > s=1.00e+00 > x=5.001000e-15 f=1.00e+00 > s=1.00e+00 > x=2.500400e-14 f=1.00e+00 > s=1.00e+00 > x=1.

Re: svn commit: r1179928 - in [...]

2011-10-08 Thread Gilles Sadowski
On Sat, Oct 08, 2011 at 02:29:21PM -0700, Phil Steitz wrote: > On 10/8/11 2:12 PM, Gilles Sadowski wrote: > > On Sat, Oct 08, 2011 at 07:21:23AM -0700, Phil Steitz wrote: > >> On 10/8/11 5:05 AM, Gilles Sadowski wrote: > >>> Hi Phil. > >>> > Can you live with r1180315? > >>> [I guess that you

Re: svn commit: r1179928 - in [...]

2011-10-08 Thread Phil Steitz
On 10/8/11 2:12 PM, Gilles Sadowski wrote: > On Sat, Oct 08, 2011 at 07:21:23AM -0700, Phil Steitz wrote: >> On 10/8/11 5:05 AM, Gilles Sadowski wrote: >>> Hi Phil. >>> Can you live with r1180315? >>> [I guess that you are talking to me.] >>> >>> I still stand with the arguments of my other p

Re: svn commit: r1179928 - in [...]

2011-10-08 Thread Gilles Sadowski
On Sat, Oct 08, 2011 at 07:21:23AM -0700, Phil Steitz wrote: > On 10/8/11 5:05 AM, Gilles Sadowski wrote: > > Hi Phil. > > > >> Can you live with r1180315? > > [I guess that you are talking to me.] > > > > I still stand with the arguments of my other post about this "1e-9" constant > > being confu

Re: svn commit: r1179928 - in [...]

2011-10-08 Thread Phil Steitz
On 10/8/11 5:05 AM, Gilles Sadowski wrote: > Hi Phil. > >> Can you live with r1180315? > [I guess that you are talking to me.] > > I still stand with the arguments of my other post about this "1e-9" constant > being confusing for the "non numerics-aware" users. > However, I can understand that we

Re: svn commit: r1179928 - in [...]

2011-10-08 Thread Gilles Sadowski
Hi Phil. > Can you live with r1180315? [I guess that you are talking to me.] I still stand with the arguments of my other post about this "1e-9" constant being confusing for the "non numerics-aware" users. However, I can understand that we may want to also document the departure from the math d

Re: svn commit: r1179928 - in [...]

2011-10-07 Thread Phil Steitz
Can you live with r1180315? Phil - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org

Re: svn commit: r1179928 - in [...]

2011-10-07 Thread Gilles Sadowski
> >> > >> /** > >> - * Sinc function. > >> + * Sinc function, defined by > >> + * > >> + * sinc(x) = 1 if abs(x) < 1e-9; > >> + * sin(x) / x; otherwise > >> + * > > > > I would not document the first part of the alternative since it is an > > implementation detail. "1e-9" was chosen

Re: svn commit: r1179928 - in [...]

2011-10-07 Thread Phil Steitz
On Oct 7, 2011, at 2:59 AM, gil...@harfang.homelinux.org wrote: > On Fri, Oct 07, 2011 at 03:20:40AM -, pste...@apache.org wrote: >> Author: psteitz >> Date: Fri Oct 7 03:20:39 2011 >> New Revision: 1179928 >> >> URL: http://svn.apache.org/viewvc?rev=1179928&view=rev >> Log: >> Javadoc f

Re: svn commit: r1179928 - in [...]

2011-10-07 Thread gilles
On Fri, Oct 07, 2011 at 03:20:40AM -, pste...@apache.org wrote: > Author: psteitz > Date: Fri Oct 7 03:20:39 2011 > New Revision: 1179928 > > URL: http://svn.apache.org/viewvc?rev=1179928&view=rev > Log: > Javadoc fixes. > > Modified: > [...] > > commons/proper/math/trunk/src/main/java/