Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.02.2002240756510.13368@key0.esi.com.au>
Date: Mon, 24 Feb 2020 08:03:30 +1100 (AEDT)
From: Damian McGuckin <damianm@....com.au>
To: musl@...ts.openwall.com
Subject: Re: Min and Max of 2 Floating Point numbers

On Sun, 23 Feb 2020, Rich Felker wrote:

> Unless by "propagate nans" you mean some specific behavior beyond
> preserving one of the input nans,

Correct.  Corrently, for input 'x' and 'y', the routines agree with IEEE 
754 2008 and say

 	if (isnan(x))
 		return y;

To agree with IEEE 754 2019, they shold say.

 	if (isnan(x))
 		return x;

There is a new operation defined which I think preserves the old 
behaviour.

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.