Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 1 Apr 2018 22:42:27 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: Alba Pompeo <albapompeo@...il.com>
Cc: musl@...ts.openwall.com
Subject: Re: musl libmath (implied algorithm issue)

* Alba Pompeo <albapompeo@...il.com> [2018-04-01 10:54:54 -0300]:
> I found a commit elsewhere that implies musl's fma algorithm is wrong.
> You may be interested in investigating.
> https://git.eigenstate.org/npnth/mc.git/commit/?h=libmath&id=debd13efe12eaca072229e9859aaa6df8708a09f

thanks, it is a wrong result bug in fmaf, copied from freebsd.

near half way cases may get incorrectly rounded under some
circumstances, i didnt try to understand their fix, but
used a minimal change for now.


View attachment "0001-fix-fmaf-wrong-result.patch" of type "text/x-diff" (1420 bytes)

Powered by blists - more mailing lists

Your e-mail address:

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