Subject: Re: Spam that makes SpamAssassin crash Perl
To: Paul Mather <paul@gromit.dlib.vt.edu>
From: Anders Hogrelius <ahs@hogrelius.nu>
List: port-alpha
Date: 11/29/2003 12:17:55
Well, I tried compiling perl 5.8.2, and it seems this must be caused by
something within the system. I'm running NetBSD 1.5.2, and even with the
latest version of perl, I still get:

ahs@hogrelius:~> perl -e 'print exp(0 - 736.285624221884), "\n";'
0

Perhaps one should look for the cause within the compiler or the math
library? I compiled perl using gcc 2.95.3.


Anders

--
This cool Mail was sent on Sat 11/29/03 at 3:13AM PST


"What happened to the crewman?"

"The M-5 computer needed a new power source, the crewman merely got in
the way."
		-- Kirk and Dr. Richard Daystrom, "The Ultimate Computer",
		   stardate 4731.3.

*************************************************************************
* AHS Geoteknik
* Anders Hogrelius       Phone : +46 (0)70 6770210
* Tessingatan 12         E-mail: anders@hogrelius.nu
* SE-72216 Vasteras      Web:    http://www.hogrelius.nu/~ahs/
* SWEDEN

On Fri, 28 Nov 2003, Paul Mather wrote:

> On Fri, Nov 28, 2003 at 08:29:03PM +0100, Anders Hogrelius wrote:
>
> => I tried updating to perl-5.6.1nb9, and although perl doesn't crash, it
> => still behaves weird... I haven't compiled 5.8.2 yet though...
> =>
> => ahs@hogrelius:~> perl -e 'print exp(0 - 736.285624221884), "\n";'
> => 0
>
> FWIW, this is what I get using Perl 5.8.1 built from pkgsrc under
> 1.6ZC-CURRENT:
>
> >>>>>
> $ perl -e 'print exp(0 - 736.285624221884), "\n";'
> 1.7188543818817e-320
<snip>