OT: tolerance was Re: Testing
James Browning
jamesb.fe80 at gmail.com
Tue Jul 16 00:23:23 UTC 2019
On Mon, Jul 15, 2019, 5:15 PM Hal Murray via devel <devel at ntpsec.org> wrote:
>
> tenterline at gmail.com said:
> > I come from a scientific background, where we compare results somewhat as
> > analog values. If the test result is off the expected by 1000%, that's
> bad.
> > If it's off 1%, better. If the error is .00001%, probably within
> achievable
> > accuracy.
>
> There is a difference between running the same experiment again to get new
> data and running new software on old data.
>
> Are the specs and implementation for IEEE floating point tight enough so
> that
> I should get the exact same result if I run a test on a different CPU
> chip?
> Or is there room for things like holding extra bits in temporary results
> so
> the bottom bits might be different due to round off or such?
>
Possibly. But I would say have a tight tolerance and a not so tight one. If
the absolute difference is less than both paint it green, if only one then
yellow, and for neither red. I'm probably wrong though.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190715/9244c4e3/attachment-0001.htm>
More information about the devel
mailing list