On Sat, 2024-12-28 16:01:50 +0000, John Klos <john%klos.com@localhost> wrote: > Hi, > > Perl is now at version 5.40.0. This new version fails to compile because it > wants to use NV_INF and NV_NAN. > > What's the best way to fix this? Seems this came with commit 5fdf6e90221900a85cd3091bd2755e41fc230d4d Author: Paul Evans <leonerd%leonerd.org.uk@localhost> Date: Mon Jan 22 22:29:39 2024 +0000 Add builtin::inf and builtin::nan https://github.com/Perl/perl5/commit/5fdf6e90221900a85cd3091bd2755e41fc230d4d As there is configury available for some aspects of FP NANs / INFs, I think that this was just an oversight and not a design decision to drop anything except IEEE math. Cf. d_double_style_vax, d_double_has_inf and d_double_has_nan. For now, I just started a build with reverting that patch. Let's see where this takes us to... MfG, JBG --
Attachment:
signature.asc
Description: PGP signature