On Tue, Jul 12, 2005 at 10:17:46PM -0500, Steve Peters wrote:
> > Anyone have a FreeBSD machine handy with a recent Perl on it to try this
> > out?
> 
> Testdrive probably does.

They do but they're not accepting connections.

SourceForge's compile farm has one... FreeBSD 4.10-BETA running 5.5.3, great.

[EMAIL PROTECTED]:~$ perl
my $packed = "\0\0\xc0\x7f";
print STDERR "len: ", length($packed), " bytes: ",
\ unpack("H*", $packed), "\n";
my $float = unpack("f", $packed);
print STDERR "float done\n";
print STDERR "float: $float\n";

exit 0;
len: 4 bytes: SCALAR(0x804e054)
float done
float: NaN


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern
Ahh email, my old friend.  Do you know that revenge is a dish that is best 
served cold?  And it is very cold on the Internet!

Reply via email to