develooper Front page | perl.perl5.porters | Postings from August 2001

Re: inf handling in Perl incomplete

Thread Previous
Jarkko Hietaniemi
August 5, 2001 07:47
Re: inf handling in Perl incomplete
Message ID:
> a real NaN is a little harder than saying `$x = NaN'.  I think that you
> can say, e.g.:
>         use POSIX ':fcntl_h'; $x = DBL_MAX();
>     and you'll get a real Inf that DTRT (at least on FreeBSD 4.3).  I'll
> check that on Monday.

See perl.h:2501 or thereabouts.

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About