Displaying 1 result from an estimated 1 matches for "have_broken_log1p".
2003 Aug 25
0
(PR#3979) Re: Re: R 1.7.x and inaccurate log1p() on OpenBSD
...without access to such a
>> platform to test it, though.
I need the same kind of test in my own software, so I made some
experiments and came up with the code below for configure.in. I've
tested it so far only on NetBSD 1.6 and Sun Solaris 9; it produced the
expected settings
#define HAVE_BROKEN_LOG1P 1
#define HAVE_LOG1P 1
on NetBSD and
/* #undef HAVE_BROKEN_LOG1P */
#define HAVE_LOG1P 1
on Solaris. Notice that the test code checks arguments over a range
of powers of two suitable for IEEE 754 with support for subnormals,
but will bail out early if necessary. It should therefore work as...