Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 23 Feb 2020 22:18:31 +0100
From: Florian Weimer <fw@...eb.enyo.de>
To: Damian McGuckin <damianm@....com.au>
Cc: musl@...ts.openwall.com
Subject: Re: Min and Max of 2 Floating Point numbers

* Damian McGuckin:

> Please tell me if I am wrong.
>
> MUSL relevance: I believe that even in 1.2.0, MUSL's own fmax/fmin libc
> routines violate the IEEE 754-2019 standard which came out recently.

I don't think the new IEEE 754 version specifies the behavior of the
fmax/fmin functions due to the way they implemented this change.  Do
you have a publicly accessible reference?

For ISO C, there is a different proposal here:

  <http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2489.pdf>

It preserves the existing behavior of fmax/fmin, as far as I can tell.

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.