help-octave
[Top][All Lists]
Advanced

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

R: Re: Modify machine precision


From: alberto frigerio
Subject: R: Re: Modify machine precision
Date: Thu, 29 Mar 2012 10:34:03 +0200

Hi Jordi,

thank you for your reply.

So you are telling me that in Octave there is no way to force machine precision in a program? My problem is that I'm doing some analyses with another precision whose machine precision is 1e-13 and I was wondering to set that value in my program too (only in this one, not in Octave as a whole) to have a check of our results ...

Thanks again,

  Alberto

Il 28/03/12, Jordi Gutiérrez Hermoso <address@hidden> ha scritto:
On 28 March 2012 11:50, AlbFrigerio <address@hidden> wrote:
> is there a way to force the machine precision to be different from eps?

Buy a different machine, one that doesn't adhere to IEEE 754 (I'm not
sure these exist anymore), or use a different program that does slower
multiprecision computations in software, not in hardware.

If you're having problems with precision, the solution is usually to
understand hardware floats and roundoff error. Quarteroni, Sacco &
Saleri has a nice discussion of the problem in chapter 2. If you don't
have a copy available in the library, let me know, and I can think of
other ways to help you.

- Jordi G. H.

reply via email to

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