octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binocdf inaccuracy in Octave


From: Daniel J Sebald
Subject: Re: binocdf inaccuracy in Octave
Date: Mon, 08 Jul 2013 16:33:45 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 07/08/2013 04:22 PM, Daniel J Sebald wrote:

So, we should never really be doing any such kind of

ret = 1 - numlibfunc (...)

However, do a search

[sebald@ scripts]$ grep " 1 -" * -r

and the scripts, at least, are littered with all sorts of operations.

Rik, you really discovered something here...looks like you have your
work cut out for you! :-)

I suppose this is really a cosmetic thing.  I mean, on the other end

k = 1
k =  1
betainc (1-1e-3, k+1, 50-k)
ans =  1

is losing it's accuracy as well, i.e., it should really be 1 - 1e-150.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]