help-octave
[Top][All Lists]
Advanced

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

Re: what's the ULP in Octave


From: Victor Norton
Subject: Re: what's the ULP in Octave
Date: Tue, 1 Dec 2020 16:01:31 -0500

Try this
  octave> x = 1; eps = 1;
  octave> while(x + eps > x)
  > eps /= 10;
  > end
  octave> eps
  eps =    1.0000e-16
Is this the answer?


> On Dec 1, 2020, at 7:55 AM, 康 珊 <kangshan0910@hotmail.com> wrote:
> 
> Hi, 
> I wonder what's the ULP(unit of least precision) for those double operations 
> such as pow in octave.




reply via email to

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