help-octave
[Top][All Lists]
Advanced

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

OOPS Re: precision of calculations


From: Ted Harding
Subject: OOPS Re: precision of calculations
Date: Fri, 23 Jul 1999 19:26:36 +0100 (BST)

On 23-Jul-99 I (Ted Harding) wrote:
> I'd suggest doing the following kind of test at critical points
> (example
> code only -- there'll be better ways of doing it in real life):
> 
>   ....
> 
>   x = A-B;
>   if( abs(x) < 5*eps ), x=0; endif
>   ....
> 
> I suggest a factor like 5 (but definitively) because smallish
> factors arise very easily indeed; e.g. ....

Please read:

> I suggest a factor like 5 (NOT definitively) because smallish

Sorry. Typo.

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Date: 23-Jul-99                                       Time: 19:26:36
------------------------------ XFMail ------------------------------



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

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