Re: lang/perl5 on VAX wants NaNs and infinities

Jan-Benedict Glaw <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Message-ID <[email protected]>
On Sat, 2024-12-28 16:01:50 +0000, John Klos <[email protected]> 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 <[email protected]>
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

--
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCZ3L+9wAKCRAdvV51g5nh
u/aHAJ9k77xMTSAPnwKFIQAFUdLLLeMnxwCfbTUdc+flfpkbaLXUYB+NlkBRosM=
=zeZu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.