Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Feb 2019 21:05:13 -0500
From: Morten Welinder <>
Subject: Re: Possible Mistype in exp.c


> there are no universal tests for math functions [...]

I'm painfully aware of that, :-/  However, there are a few collections
of test values out there.  Of varying size and quality.

crlibm has fairly large tables of test values.  See, for example,

John Burkardt  has a pile at
These tests are not ieee-854 based, but base 10.  For arctanh, for
example, the test value 0.999999 really is supposed to be fraction
999999/1000000 and not whatever that rounds to as a double.  That
reference value reflects that.

Testing is important.  Cases in point: crlibm had a crazy return value
for expm1( 2 * -2.079401950488110);  glibc 2.23 was released with a
broken cos function.


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.