Rhialto wrote:
> $ perl -e 'print exp(0 - 736.285624221884), "\n";'
> Floating point exception (core dumped)
FWIW, I have an slightly older version of perl (perl-5.6.0nb3), compiled
with gcc 2.95.3 in late 2000, and I see the same problem:
alpha 26> perl -e 'print exp(0 - 736.285624221884), "\n";'
Floating exception (core dumped)
Exit 136
alpha 27> perl -v
This is perl, v5.6.0 built for alpha-netbsd
...
Compiling the current pkgsrc perl with gcc 2.95.3 on a 1.6V box using
NetBSD sources from late June does work though:
alpha 3> perl -e 'print exp(0 - 708), "\n";'
3.30755300363841e-308
alpha 4> perl -v
This is perl, v5.6.1 built for alpha-netbsd
...
> Next question: how to fix that?
What vintage is your Alpha's userland?
I can't see anything between perl-5.6.1nb7 and perl-5.6.1nb9 that
looks like it obviously would change anything. A first step would
be to upgrade your perl package and try again...
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/