home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!sarah!cook!psinntp!psinntp!viper!news
- From: ken@visix.com (Ken Mayer)
- Subject: Porting to an Encore 91
- Sender: news@visix.com
- Message-ID: <Bxyy04.LM5@visix.com>
- Date: Thu, 19 Nov 1992 15:07:15 GMT
- Reply-To: ken@visix.com
- Organization: Visix Software Inc., Reston, VA
- Lines: 143
-
-
- Has anyone had experience porting perl (4.035) to an Encore 91 (Rel
- 3.0.6.14). I've encountered only two problems: first, no dbm libraries
- (can be fixed by installing gdbm or other); second t/lib/big.t (the
- bigint.pl tester) generates some errors (see trace). I can't figure
- out what's wrong (although it may have something to do with operands
- having mixed signs), and I'm having trouble setting breakpoints inside
- a package's private function.
-
- Ken
-
-
- [rover]t% perl lib/big.t
- 1..246
- ok 1
-
- ...
-
- not ok 65
- # '&badd('-1','+0');' expected: '-1' got: 'NaN'
- not ok 66
- # '&badd('+0','-1');' expected: '-1' got: 'NaN'
- ok 67
- not ok 68
- # '&badd('-1','+1');' expected: '+0' got: 'NaN'
- not ok 69
- # '&badd('+1','-1');' expected: '+0' got: 'NaN'
-
- ...
-
- not ok 81
- # '&badd('+10','-1');' expected: '+9' got: 'NaN'
- not ok 82
- # '&badd('+100','-1');' expected: '+99' got: 'NaN'
- not ok 83
- # '&badd('+1000','-1');' expected: '+999' got: 'NaN'
- not ok 84
- # '&badd('+10000','-1');' expected: '+9999' got: 'NaN'
- not ok 85
- # '&badd('+100000','-1');' expected: '+99999' got: 'NaN'
- not ok 86
- # '&badd('+1000000','-1');' expected: '+999999' got: 'NaN'
- not ok 87
- # '&badd('+10000000','-1');' expected: '+9999999' got: 'NaN'
- not ok 88
- # '&badd('+100000000','-1');' expected: '+99999999' got: 'NaN'
- not ok 89
- # '&badd('+1000000000','-1');' expected: '+999999999' got: 'NaN'
- not ok 90
- # '&badd('+10000000000','-1');' expected: '+9999999999' got: 'NaN'
- ok 91
- not ok 92
- # '&badd('-123456789','+987654321');' expected: '+864197532' got: 'NaN'
- ok 93
- not ok 94
- # '&badd('+123456789','-987654321');' expected: '-864197532' got: 'NaN'
- ok 95
- ok 96
- ok 97
- ok 98
- ok 99
- not ok 100
- # '&bsub('+0','+1');' expected: '-1' got: 'NaN'
- not ok 101
- # '&bsub('+1','+1');' expected: '+0' got: 'NaN'
- not ok 102
- # '&bsub('-1','+0');' expected: '-1' got: 'NaN'
- ok 103
- not ok 104
- # '&bsub('-1','-1');' expected: '+0' got: 'NaN'
- ok 105
- ok 106
- not ok 107
- # '&bsub('+9','+1');' expected: '+8' got: 'NaN'
- not ok 108
- # '&bsub('+99','+1');' expected: '+98' got: 'NaN'
- not ok 109
- # '&bsub('+999','+1');' expected: '+998' got: 'NaN'
- not ok 110
- # '&bsub('+9999','+1');' expected: '+9998' got: 'NaN'
- not ok 111
- # '&bsub('+99999','+1');' expected: '+99998' got: 'NaN'
- not ok 112
- # '&bsub('+999999','+1');' expected: '+999998' got: 'NaN'
- not ok 113
- # '&bsub('+9999999','+1');' expected: '+9999998' got: 'NaN'
- not ok 114
- # '&bsub('+99999999','+1');' expected: '+99999998' got: 'NaN'
- not ok 115
- # '&bsub('+999999999','+1');' expected: '+999999998' got: 'NaN'
- not ok 116
- # '&bsub('+9999999999','+1');' expected: '+9999999998' got: 'NaN'
- not ok 117
- # '&bsub('+99999999999','+1');' expected: '+99999999998' got: 'NaN'
- ok 118
- ok 119
- ok 120
- ok 121
- ok 122
- ok 123
- ok 124
- ok 125
- ok 126
- ok 127
- not ok 128
- # '&bsub('+123456789','+987654321');' expected: '-864197532' got: 'NaN'
- ok 129
- not ok 130
- # '&bsub('-123456789','-987654321');' expected: '+864197532' got: 'NaN'
- ok 131
- ok 132
- ok 133
- ok 134
- ok 135
- ok 136
- ok 137
- ok 138
- ok 139
- ok 140
- ok 141
- ok 142
- not ok 143
- # '&bmul('-1','+1');' expected: '-1' got: '+1'
- not ok 144
- # '&bmul('+1','-1');' expected: '-1' got: '+1'
- ok 145
- ok 146
- not ok 147
- # '&bmul('-2','+3');' expected: '-6' got: '+6'
- not ok 148
- # '&bmul('+2','-3');' expected: '-6' got: '+6'
- ok 149
-
- ...
-
- ok 246
- [rover]t%
- --
-
- Ken Mayer, Workgroup Alchemist
- ken@visix.com
- Visix Software Inc./703.758.8230
- If you want it yesterday you've got to give me at least a week's notice.
-