[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-userlevel
Subject:    perl with -Duselongdouble needs more libm support
From:       Thomas Klausner <wiz () NetBSD ! org>
Date:       2019-09-22 19:50:39
Message-ID: 20190922195038.jssllgqigynpieng () danbala
[Download RAW message or body]

Hi!

When compiling perl on NetBSD with -Duselongdouble, some functions are
missing.

The perl people found that out themselves:

https://rt.perl.org/Public/Bug/Display.html?id=134376

here's the smoke test on NetBSD 8.1:

http://perl5.test-smoke.org/report/93329

Reading the output, there seems to be at least "expm1l", "log1pl",
"log2l", and "tgammal" missing.

Also, there is an unexpected result:

# rp = 0xa., ep = 0xa. (rh df85458a2bb48p-2, eh df85458a2bb4a9bp-2)
# re = p-2, ee = p-2 (rh df85458a2bb48, eh df85458a2bb4a9b)
# (rh 8, eh a9b)
# (rh 80, eh a9b)
not ok 1459 - '%a' '2.71828182845904509' -> '0xa.df85458a2bb48p-2' cf '0xa.df85458a2bb4a9bp-2'

perhaps a bug in our libm?

(I haven't tried this myself, it was just pointed out to me and I hope
for sympathetic ears & coders ;) ).
 Thomas
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic