home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / perl / 7084 < prev    next >
Encoding:
Text File  |  1992-11-20  |  3.7 KB  |  155 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!sarah!cook!psinntp!psinntp!viper!news
  3. From: ken@visix.com (Ken Mayer)
  4. Subject: Porting to an Encore 91
  5. Sender: news@visix.com
  6. Message-ID: <Bxyy04.LM5@visix.com>
  7. Date: Thu, 19 Nov 1992 15:07:15 GMT
  8. Reply-To: ken@visix.com
  9. Organization: Visix Software Inc., Reston, VA
  10. Lines: 143
  11.  
  12.  
  13. Has anyone had experience porting perl (4.035) to an Encore 91 (Rel
  14. 3.0.6.14). I've encountered only two problems: first, no dbm libraries
  15. (can be fixed by installing gdbm or other); second t/lib/big.t (the
  16. bigint.pl tester) generates some errors (see trace). I can't figure
  17. out what's wrong (although it may have something to do with operands
  18. having mixed signs), and I'm having trouble setting breakpoints inside
  19. a package's private function.
  20.  
  21. Ken
  22.  
  23.  
  24. [rover]t% perl lib/big.t
  25. 1..246
  26. ok 1
  27.  
  28. ...
  29.  
  30. not ok 65
  31. # '&badd('-1','+0');' expected: '-1' got: 'NaN'
  32. not ok 66
  33. # '&badd('+0','-1');' expected: '-1' got: 'NaN'
  34. ok 67
  35. not ok 68
  36. # '&badd('-1','+1');' expected: '+0' got: 'NaN'
  37. not ok 69
  38. # '&badd('+1','-1');' expected: '+0' got: 'NaN'
  39.  
  40. ...
  41.  
  42. not ok 81
  43. # '&badd('+10','-1');' expected: '+9' got: 'NaN'
  44. not ok 82
  45. # '&badd('+100','-1');' expected: '+99' got: 'NaN'
  46. not ok 83
  47. # '&badd('+1000','-1');' expected: '+999' got: 'NaN'
  48. not ok 84
  49. # '&badd('+10000','-1');' expected: '+9999' got: 'NaN'
  50. not ok 85
  51. # '&badd('+100000','-1');' expected: '+99999' got: 'NaN'
  52. not ok 86
  53. # '&badd('+1000000','-1');' expected: '+999999' got: 'NaN'
  54. not ok 87
  55. # '&badd('+10000000','-1');' expected: '+9999999' got: 'NaN'
  56. not ok 88
  57. # '&badd('+100000000','-1');' expected: '+99999999' got: 'NaN'
  58. not ok 89
  59. # '&badd('+1000000000','-1');' expected: '+999999999' got: 'NaN'
  60. not ok 90
  61. # '&badd('+10000000000','-1');' expected: '+9999999999' got: 'NaN'
  62. ok 91
  63. not ok 92
  64. # '&badd('-123456789','+987654321');' expected: '+864197532' got: 'NaN'
  65. ok 93
  66. not ok 94
  67. # '&badd('+123456789','-987654321');' expected: '-864197532' got: 'NaN'
  68. ok 95
  69. ok 96
  70. ok 97
  71. ok 98
  72. ok 99
  73. not ok 100
  74. # '&bsub('+0','+1');' expected: '-1' got: 'NaN'
  75. not ok 101
  76. # '&bsub('+1','+1');' expected: '+0' got: 'NaN'
  77. not ok 102
  78. # '&bsub('-1','+0');' expected: '-1' got: 'NaN'
  79. ok 103
  80. not ok 104
  81. # '&bsub('-1','-1');' expected: '+0' got: 'NaN'
  82. ok 105
  83. ok 106
  84. not ok 107
  85. # '&bsub('+9','+1');' expected: '+8' got: 'NaN'
  86. not ok 108
  87. # '&bsub('+99','+1');' expected: '+98' got: 'NaN'
  88. not ok 109
  89. # '&bsub('+999','+1');' expected: '+998' got: 'NaN'
  90. not ok 110
  91. # '&bsub('+9999','+1');' expected: '+9998' got: 'NaN'
  92. not ok 111
  93. # '&bsub('+99999','+1');' expected: '+99998' got: 'NaN'
  94. not ok 112
  95. # '&bsub('+999999','+1');' expected: '+999998' got: 'NaN'
  96. not ok 113
  97. # '&bsub('+9999999','+1');' expected: '+9999998' got: 'NaN'
  98. not ok 114
  99. # '&bsub('+99999999','+1');' expected: '+99999998' got: 'NaN'
  100. not ok 115
  101. # '&bsub('+999999999','+1');' expected: '+999999998' got: 'NaN'
  102. not ok 116
  103. # '&bsub('+9999999999','+1');' expected: '+9999999998' got: 'NaN'
  104. not ok 117
  105. # '&bsub('+99999999999','+1');' expected: '+99999999998' got: 'NaN'
  106. ok 118
  107. ok 119
  108. ok 120
  109. ok 121
  110. ok 122
  111. ok 123
  112. ok 124
  113. ok 125
  114. ok 126
  115. ok 127
  116. not ok 128
  117. # '&bsub('+123456789','+987654321');' expected: '-864197532' got: 'NaN'
  118. ok 129
  119. not ok 130
  120. # '&bsub('-123456789','-987654321');' expected: '+864197532' got: 'NaN'
  121. ok 131
  122. ok 132
  123. ok 133
  124. ok 134
  125. ok 135
  126. ok 136
  127. ok 137
  128. ok 138
  129. ok 139
  130. ok 140
  131. ok 141
  132. ok 142
  133. not ok 143
  134. # '&bmul('-1','+1');' expected: '-1' got: '+1'
  135. not ok 144
  136. # '&bmul('+1','-1');' expected: '-1' got: '+1'
  137. ok 145
  138. ok 146
  139. not ok 147
  140. # '&bmul('-2','+3');' expected: '-6' got: '+6'
  141. not ok 148
  142. # '&bmul('+2','-3');' expected: '-6' got: '+6'
  143. ok 149
  144.  
  145. ...
  146.  
  147. ok 246
  148. [rover]t% 
  149. --
  150.  
  151. Ken Mayer, Workgroup Alchemist
  152. ken@visix.com
  153. Visix Software Inc./703.758.8230
  154.   If you want it yesterday you've got to give me at least a week's notice.
  155.