This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Do not use HUGE_VAL/VALL for NV_INF.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 1 Sep 2014 13:55:23 +0000 (09:55 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 1 Sep 2014 18:11:56 +0000 (14:11 -0400)
commita985cadd390dc83e2be80ce22961ff6da5e6feb5
treee6a1ebad3d9c92411ca37325c382939844d995fc
parentc0cd65b2410a7d7f64d2d3336de4f12861b430b2
Do not use HUGE_VAL/VALL for NV_INF.

Because some platforms (like HP-UX 10.*) have HUGE_VAL as DBL_MAX,
which, while large, is not quite the infinity.  So have infinity
own our very own.

Similarly for NV_NAN.
embedvar.h
perl.h
perlapi.h
perlvars.h