[Cuis-dev] Negative sqrt

werner kassens wkassens at libello.com
Mon Jan 4 09:31:02 PST 2021

Hi Juan,

a numerical computation resulting in a NaN instead of an error can
simplify coding of genetic algos or genetic programming dealing with
numeric problems. iow i would prefer if this behaviour would not disappear.


On 12/30/20 4:57 PM, Juan Vuletich via Cuis-dev wrote:
> .....
> Having worked with numerical algorithms using floating point, mainly
> in image and signal processing, but also in numerical linear algebra
> and discrete simulations, I never saw Signaling NaNs have any
> relevance. I don't think they are used much in practice. And they can
> be implemented in Smalltalk.
> Still, you may bring the issue to VM-Dev. If floating point primitives
> are made to fail when encountering a Signaling NaN, I'll be happy to
> raise an appropriate Smalltalk exception.
> Thanks,

More information about the Cuis-dev mailing list