Re: what's the ULP in Octave

Victor Norton via Help-octave <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
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, 康 珊 <[email protected]> wrote:
> 
> Hi, 
> I wonder what's the ULP(unit of least precision) for those double operations such as pow in octave.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.