home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!caen!malgudi.oar.net!chemabs!jon
- From: jon@cas.org (Jon Vander Hill)
- Subject: bug/typo in 4.035 bigfloat.pl
- Message-ID: <JON.92Nov17203430@cas.org>
- Sender: usenet@cas.org
- Organization: Chemical Abstracts Service, Columbus, Ohio
- Distribution: comp
- Date: Wed, 18 Nov 1992 01:34:30 GMT
- Lines: 18
-
-
- In our Perl 4.035 distribution, bigfloat.pl generates the
- following syntax error:
-
- -> perl -c /usr/perl/lib/bigfloat.pl
- syntax error in file /usr/perl/lib/bigfloat.pl at line 70, next 2 tokens "=^"
- /usr/perl/lib/bigfloat.pl had compilation errors.
-
- The bad line is:
-
- vec($_,0,8) =^ ord('+') ^ ord('-') unless $_ eq '+0E+0'; # flip sign
-
- and should be:
-
- vec($_,0,8) ^= ord('+') ^ ord('-') unless $_ eq '+0E+0'; # flip sign
-
- Jon Vander Hill
- jon@cas.org
-