[Cuis-dev] closeTo: number?

Andres Valloud ten at smallinteger.com
Thu Aug 1 11:49:32 PDT 2024


Hi Hilaire, look at

	Float>>isWithin:floatsFrom:

and related methods.  You will need to specify a tolerance in ulps 
(units in the last place, or units of least precision) depending on the 
numerical analysis for the calculations being done.

On 8/1/24 6:35 AM, Hilaire Fernandes via Cuis-dev wrote:
> Hi,
> 
> I am porting some package usint it in the test.
> 
> How should we do it in the stock image? I don't want to add an extension 
> in the package.
> 
> I think we discussed it some weeks ago but I can't search the mailing list.
> 
> Thanks
> 


More information about the Cuis-dev mailing list