mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Damian McGuckin <damianm@esi.com.au>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Min and Max of 2 Floating Point numbers
Date: Sun, 23 Feb 2020 22:18:31 +0100	[thread overview]
Message-ID: <87mu99ovdk.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <alpine.LRH.2.02.2002231724010.23908@key0.esi.com.au> (Damian McGuckin's message of "Sun, 23 Feb 2020 18:08:25 +1100 (AEDT)")

* 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.

  parent reply	other threads:[~2020-02-23 21:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-23  7:08 Damian McGuckin
2020-02-23 15:21 ` Rich Felker
2020-02-23 21:03   ` Damian McGuckin
2020-02-23 21:18 ` Florian Weimer [this message]
2020-02-23 23:20   ` Damian McGuckin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu99ovdk.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=damianm@esi.com.au \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).