[Cuis-dev] testing Float results
Andres Valloud
ten at smallinteger.com
Mon Jun 3 19:49:21 PDT 2024
Look at Float>>isWithin:floatsFrom:, and see also Float>>ulp.
On 6/3/24 4:36 PM, Mark Volkmann via Cuis-dev wrote:
> Is there a function that tests whether two Float values are "close"
> (within some delta)?
> I can write it, but I thought that might be provided.
> I looked at all the methods in the Float class, but didn't find one like
> that.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
More information about the Cuis-dev
mailing list