Out4.nf.std 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. Tue Apr 26 14:36:39 MET DST 1988
  2. ***** ctconv
  3. acc -DNOFLOAT conv.c
  4. conv.c
  5. "conv.c", line 38: (warning) overflow in constant expression
  6. running conv.cem
  7. comparing conv
  8. 2a3,4
  9. > (float) 12 = 12.000000
  10. > (int) 3.14 = 3
  11. 11,$c13,$
  12. < char -1, int -1, unsigned 37777777777, long -1
  13. < char -1, int -1, unsigned 37777777777, long -1
  14. < From integer
  15. < char -64, int -64, unsigned 37777777700, long -64
  16. < From long
  17. < char -3, int -3, unsigned 37777777775, long -3
  18. < Casts from long
  19. < char -8, int 75000, unsigned short 22370, long 75000
  20. < a[l] (l==3) -17
  21. < a[3l] -17
  22. < (unsigned short) 0x1f010L = 0xf010
  23. < (short) 0x1f010L = 0xfffff010
  24. ---
  25. > float 127.000000
  26. > char -1, int -1, unsigned 37777777777, long -1
  27. > float -1.000000
  28. > char -1, int -1, unsigned 37777777777, long -1
  29. > float -1.000000
  30. > From integer
  31. > char -64, int -64, unsigned 37777777700, long -64
  32. > float -64.000000
  33. > From long
  34. > char -3, int -3, unsigned 37777777775, long -3
  35. > float -3.000000
  36. > Casts from long
  37. > char -8, int 75000, unsigned short 22370, long 75000
  38. > From float
  39. > char 121, int 121, unsigned 171, long 121, float 121.500000
  40. > char 0, int 0, unsigned 0, long 0, float 0.000100
  41. > int 32766, unsigned 77776, long 32766, float 32766.000000
  42. > long 1223432064, float 1223432064.000000
  43. > a[l] (l==3) -17
  44. > a[3l] -17
  45. > (unsigned short) 0x1f010L = 0xf010
  46. > (short) 0x1f010L = 0xfffff010
  47. *** Error code 1 (ignored)
  48. ***** ctdecl
  49. acc -DNOFLOAT decl.c
  50. decl.c
  51. running decl.cem
  52. comparing decl
  53. ***** ctdivers
  54. acc -DNOFLOAT ops.c
  55. ops.c
  56. running ops.cem
  57. comparing ops
  58. ***** cterr
  59. acc -DNOFLOAT bugs.c
  60. bugs.c
  61. "bugs.c", line 88: (warning) overflow in constant expression
  62. running bugs.cem
  63. comparing bugs
  64. ***** ctest1
  65. acc -DNOFLOAT test.c
  66. test.c
  67. running test.cem
  68. comparing test
  69. 1,$c1,$
  70. < End of test program, 10 tests completed, 0 errors detected
  71. ---
  72. > End of test program, 11 tests completed, 0 errors detected
  73. *** Error code 1 (ignored)
  74. ***** ctest2
  75. acc -DNOFLOAT t7.c
  76. t7.c
  77. running t7.cem
  78. comparing t7
  79. ***** ctest3
  80. acc -DNOFLOAT test2.c
  81. test2.c
  82. running test2.cem
  83. comparing test2
  84. ***** ctest5
  85. acc -DNOFLOAT test1.c
  86. test1.c
  87. "test1.c", line 375: (warning) incompatible pointers in =
  88. "test1.c", line 376: (warning) incompatible pointers in =
  89. "test1.c", line 377: (warning) incompatible pointers in =
  90. "test1.c", line 389: (warning) incompatible pointers in =
  91. "test1.c", line 412: (warning) incompatible pointers in =
  92. "test1.c", line 413: (warning) incompatible pointers in =
  93. "test1.c", line 414: (warning) incompatible pointers in =
  94. "test1.c", line 426: (warning) incompatible pointers in =
  95. running test1.cem
  96. comparing test1
  97. 1,$c1,$
  98. < program test1
  99. < 10 tests completed. Number of errors = 0
  100. ---
  101. > error 13 in test 11
  102. > program test1
  103. > 11 tests completed. Number of errors = 1
  104. *** Error code 1 (ignored)
  105. ***** ctgen
  106. sed -f bf.sed <OPS >bf.c
  107. acc -DNOFLOAT bf.c
  108. bf.c
  109. running bf.cem
  110. comparing bf
  111. sed -f cel.sed <OPS >cel.c
  112. acc -DNOFLOAT cel.c
  113. cel.c
  114. running cel.cem
  115. comparing cel
  116. sed -f clu.sed <OPS >clu.c
  117. acc -DNOFLOAT clu.c
  118. clu.c
  119. running clu.cem
  120. comparing clu
  121. sed -f ec.sed <OPS >ec.c
  122. acc -DNOFLOAT ec.c
  123. ec.c
  124. "ec.c", line 58: (warning) overflow in constant expression
  125. "ec.c", line 64: (warning) overflow in constant expression
  126. running ec.cem
  127. comparing ec
  128. sed -f ef.sed <OPS >ef.c
  129. acc -DNOFLOAT ef.c
  130. ef.c
  131. running ef.cem
  132. comparing ef
  133. 0a1,$
  134. > .4e-5 + .3e-5
  135. > .4e-5 - .3e-5
  136. > .4e-5 / .3e-5
  137. > .4e-5 * .3e-5
  138. > .4e-5 || .3e-5
  139. > .4e-5 && .3e-5
  140. > -.4e-5
  141. > !.4e-5
  142. > .4e-5 == .3e-5
  143. > .4e-5 != .3e-5
  144. > .4e-5 <= .3e-5
  145. > .4e-5 >= .3e-5
  146. > .4e-5 < .3e-5
  147. > .4e-5 > .3e-5
  148. > .4e-5 ? .4e-5 : .3e-5
  149. > x = .4e-5 4.000000e-06
  150. > x += .4e-5 3.141504e+00
  151. > x -= .4e-5 3.141496e+00
  152. > x /= .4e-5 7.853750e+05
  153. > x *= .4e-5 1.256600e-05
  154. > x ++ 4.141500e+00
  155. > x -- 2.141500e+00
  156. > -- x 2.141500e+00
  157. > ++ x 4.141500e+00
  158. > y = ( .4e-5 + .3e-5 ) 7.000000e-06
  159. > y = ( .4e-5 - .3e-5 ) 1.000000e-06
  160. > y = ( .4e-5 / .3e-5 ) 1.333333e+00
  161. > y = ( .4e-5 * .3e-5 ) 1.200000e-11
  162. > y = ( .4e-5 || .3e-5 ) 1.000000e+00
  163. > y = ( .4e-5 && .3e-5 ) 1.000000e+00
  164. > y = ( -.4e-5 ) -4.000000e-06
  165. > y = ( !.4e-5 ) 0.000000e+00
  166. > y = ( .4e-5 == .3e-5 ) 0.000000e+00
  167. > y = ( .4e-5 != .3e-5 ) 1.000000e+00
  168. > y = ( .4e-5 <= .3e-5 ) 0.000000e+00
  169. > y = ( .4e-5 >= .3e-5 ) 1.000000e+00
  170. > y = ( .4e-5 < .3e-5 ) 0.000000e+00
  171. > y = ( .4e-5 > .3e-5 ) 1.000000e+00
  172. > y = ( .4e-5 ? .4e-5 : .3e-5 ) 4.000000e-06
  173. > y = ( x = .4e-5 ) 4.000000e-06 4.000000e-06
  174. > y = ( x += .4e-5 ) 3.141504e+00 3.141504e+00
  175. > y = ( x -= .4e-5 ) 3.141496e+00 3.141496e+00
  176. > y = ( x /= .4e-5 ) 7.853750e+05 7.853750e+05
  177. > y = ( x *= .4e-5 ) 1.256600e-05 1.256600e-05
  178. > y = ( x ++ ) 4.141500e+00 3.141500e+00
  179. > y = ( x -- ) 2.141500e+00 3.141500e+00
  180. > y = ( -- x ) 2.141500e+00 2.141500e+00
  181. > y = ( ++ x ) 4.141500e+00 4.141500e+00
  182. > yes if ( .4e-5 + .3e-5 ) yes() ; else no()
  183. > yes if ( .4e-5 - .3e-5 ) yes() ; else no()
  184. > yes if ( .4e-5 / .3e-5 ) yes() ; else no()
  185. > yes if ( .4e-5 * .3e-5 ) yes() ; else no()
  186. > yes if ( .4e-5 || .3e-5 ) yes() ; else no()
  187. > yes if ( .4e-5 && .3e-5 ) yes() ; else no()
  188. > yes if ( -.4e-5 ) yes() ; else no()
  189. > no if ( !.4e-5 ) yes() ; else no()
  190. > no if ( .4e-5 == .3e-5 ) yes() ; else no()
  191. > yes if ( .4e-5 != .3e-5 ) yes() ; else no()
  192. > no if ( .4e-5 <= .3e-5 ) yes() ; else no()
  193. > yes if ( .4e-5 >= .3e-5 ) yes() ; else no()
  194. > no if ( .4e-5 < .3e-5 ) yes() ; else no()
  195. > yes if ( .4e-5 > .3e-5 ) yes() ; else no()
  196. > yes if ( .4e-5 ? .4e-5 : .3e-5 ) yes() ; else no()
  197. > yes if ( x = .4e-5 ) yes() ; else no() 4.000000e-06
  198. > yes if ( x += .4e-5 ) yes() ; else no() 3.141504e+00
  199. > yes if ( x -= .4e-5 ) yes() ; else no() 3.141496e+00
  200. > yes if ( x /= .4e-5 ) yes() ; else no() 7.853750e+05
  201. > yes if ( x *= .4e-5 ) yes() ; else no() 1.256600e-05
  202. > yes if ( x ++ ) yes() ; else no() 4.141500e+00
  203. > yes if ( x -- ) yes() ; else no() 2.141500e+00
  204. > yes if ( -- x ) yes() ; else no() 2.141500e+00
  205. > yes if ( ++ x ) yes() ; else no() 4.141500e+00
  206. *** Error code 1 (ignored)
  207. sed -f ei.sed <OPS >ei.c
  208. acc -DNOFLOAT ei.c
  209. ei.c
  210. running ei.cem
  211. comparing ei
  212. sed -f el.sed <OPS >el.c
  213. acc -DNOFLOAT el.c
  214. el.c
  215. running el.cem
  216. comparing el
  217. sed -f eu.sed <OPS >eu.c
  218. acc -DNOFLOAT eu.c
  219. eu.c
  220. running eu.cem
  221. comparing eu
  222. sed -f id.sed <OPS >id.c
  223. acc -DNOFLOAT id.c
  224. id.c
  225. running id.cem
  226. comparing id
  227. 0a1,$
  228. > (-40) + 300
  229. > (-40) - 300
  230. > (-40) / 300
  231. > (-40) * 300
  232. > (-40) || 300
  233. > (-40) && 300
  234. > -(-40)
  235. > !(-40)
  236. > (-40) == 300
  237. > (-40) != 300
  238. > (-40) <= 300
  239. > (-40) >= 300
  240. > (-40) < 300
  241. > (-40) > 300
  242. > (-40) ? (-40) : 300
  243. > x = (-40) -4.000000e+01
  244. > x += (-40) -3.685850e+01
  245. > x -= (-40) 4.314150e+01
  246. > x /= (-40) -7.853750e-02
  247. > x *= (-40) -1.256600e+02
  248. > x ++ 4.141500e+00
  249. > x -- 2.141500e+00
  250. > -- x 2.141500e+00
  251. > ++ x 4.141500e+00
  252. > y = ( (-40) + 300 ) 260
  253. > y = ( (-40) - 300 ) -340
  254. > y = ( (-40) / 300 ) 0
  255. > y = ( (-40) * 300 ) -12000
  256. > y = ( (-40) || 300 ) 1
  257. > y = ( (-40) && 300 ) 1
  258. > y = ( -(-40) ) 40
  259. > y = ( !(-40) ) 0
  260. > y = ( (-40) == 300 ) 0
  261. > y = ( (-40) != 300 ) 1
  262. > y = ( (-40) <= 300 ) 1
  263. > y = ( (-40) >= 300 ) 0
  264. > y = ( (-40) < 300 ) 1
  265. > y = ( (-40) > 300 ) 0
  266. > y = ( (-40) ? (-40) : 300 ) -40
  267. > y = ( x = (-40) ) -4.000000e+01 -40
  268. > y = ( x += (-40) ) -3.685850e+01 -36
  269. > y = ( x -= (-40) ) 4.314150e+01 43
  270. > y = ( x /= (-40) ) -7.853750e-02 0
  271. > y = ( x *= (-40) ) -1.256600e+02 -125
  272. > y = ( x ++ ) 4.141500e+00 3
  273. > y = ( x -- ) 2.141500e+00 3
  274. > y = ( -- x ) 2.141500e+00 2
  275. > y = ( ++ x ) 4.141500e+00 4
  276. > yes if ( (-40) + 300 ) yes() ; else no()
  277. > yes if ( (-40) - 300 ) yes() ; else no()
  278. > no if ( (-40) / 300 ) yes() ; else no()
  279. > yes if ( (-40) * 300 ) yes() ; else no()
  280. > yes if ( (-40) || 300 ) yes() ; else no()
  281. > yes if ( (-40) && 300 ) yes() ; else no()
  282. > yes if ( -(-40) ) yes() ; else no()
  283. > no if ( !(-40) ) yes() ; else no()
  284. > no if ( (-40) == 300 ) yes() ; else no()
  285. > yes if ( (-40) != 300 ) yes() ; else no()
  286. > yes if ( (-40) <= 300 ) yes() ; else no()
  287. > no if ( (-40) >= 300 ) yes() ; else no()
  288. > yes if ( (-40) < 300 ) yes() ; else no()
  289. > no if ( (-40) > 300 ) yes() ; else no()
  290. > yes if ( (-40) ? (-40) : 300 ) yes() ; else no()
  291. > yes if ( x = (-40) ) yes() ; else no() -4.000000e+01
  292. > yes if ( x += (-40) ) yes() ; else no() -3.685850e+01
  293. > yes if ( x -= (-40) ) yes() ; else no() 4.314150e+01
  294. > yes if ( x /= (-40) ) yes() ; else no() -7.853750e-02
  295. > yes if ( x *= (-40) ) yes() ; else no() -1.256600e+02
  296. > yes if ( x ++ ) yes() ; else no() 4.141500e+00
  297. > yes if ( x -- ) yes() ; else no() 2.141500e+00
  298. > yes if ( -- x ) yes() ; else no() 2.141500e+00
  299. > yes if ( ++ x ) yes() ; else no() 4.141500e+00
  300. *** Error code 1 (ignored)
  301. sed -f lc.sed <OPS >lc.c
  302. acc -DNOFLOAT lc.c
  303. lc.c
  304. "lc.c", line 60: (warning) overflow in constant expression
  305. "lc.c", line 66: (warning) overflow in constant expression
  306. running lc.cem
  307. comparing lc
  308. sed -f ld.sed <OPS >ld.c
  309. acc -DNOFLOAT ld.c
  310. ld.c
  311. running ld.cem
  312. comparing ld
  313. 0a1,$
  314. > .4e-5 + .3e-5
  315. > .4e-5 - .3e-5
  316. > .4e-5 / .3e-5
  317. > .4e-5 * .3e-5
  318. > .4e-5 || .3e-5
  319. > .4e-5 && .3e-5
  320. > -.4e-5
  321. > !.4e-5
  322. > .4e-5 == .3e-5
  323. > .4e-5 != .3e-5
  324. > .4e-5 <= .3e-5
  325. > .4e-5 >= .3e-5
  326. > .4e-5 < .3e-5
  327. > .4e-5 > .3e-5
  328. > .4e-5 ? .4e-5 : .3e-5
  329. > x = .4e-5 4.000000e-06
  330. > x += .4e-5 3.141504e+00
  331. > x -= .4e-5 3.141496e+00
  332. > x /= .4e-5 7.853750e+05
  333. > x *= .4e-5 1.256600e-05
  334. > x ++ 4.141500e+00
  335. > x -- 2.141500e+00
  336. > -- x 2.141500e+00
  337. > ++ x 4.141500e+00
  338. > y = ( .4e-5 + .3e-5 ) 7.000000e-06
  339. > y = ( .4e-5 - .3e-5 ) 1.000000e-06
  340. > y = ( .4e-5 / .3e-5 ) 1.333333e+00
  341. > y = ( .4e-5 * .3e-5 ) 1.200000e-11
  342. > y = ( .4e-5 || .3e-5 ) 1.000000e+00
  343. > y = ( .4e-5 && .3e-5 ) 1.000000e+00
  344. > y = ( -.4e-5 ) -4.000000e-06
  345. > y = ( !.4e-5 ) 0.000000e+00
  346. > y = ( .4e-5 == .3e-5 ) 0.000000e+00
  347. > y = ( .4e-5 != .3e-5 ) 1.000000e+00
  348. > y = ( .4e-5 <= .3e-5 ) 0.000000e+00
  349. > y = ( .4e-5 >= .3e-5 ) 1.000000e+00
  350. > y = ( .4e-5 < .3e-5 ) 0.000000e+00
  351. > y = ( .4e-5 > .3e-5 ) 1.000000e+00
  352. > y = ( .4e-5 ? .4e-5 : .3e-5 ) 4.000000e-06
  353. > y = ( x = .4e-5 ) 4.000000e-06 4.000000e-06
  354. > y = ( x += .4e-5 ) 3.141504e+00 3.141504e+00
  355. > y = ( x -= .4e-5 ) 3.141496e+00 3.141496e+00
  356. > y = ( x /= .4e-5 ) 7.853750e+05 7.853750e+05
  357. > y = ( x *= .4e-5 ) 1.256600e-05 1.256600e-05
  358. > y = ( x ++ ) 4.141500e+00 3.141500e+00
  359. > y = ( x -- ) 2.141500e+00 3.141500e+00
  360. > y = ( -- x ) 2.141500e+00 2.141500e+00
  361. > y = ( ++ x ) 4.141500e+00 4.141500e+00
  362. > yes if ( .4e-5 + .3e-5 ) yes() ; else no()
  363. > yes if ( .4e-5 - .3e-5 ) yes() ; else no()
  364. > yes if ( .4e-5 / .3e-5 ) yes() ; else no()
  365. > yes if ( .4e-5 * .3e-5 ) yes() ; else no()
  366. > yes if ( .4e-5 || .3e-5 ) yes() ; else no()
  367. > yes if ( .4e-5 && .3e-5 ) yes() ; else no()
  368. > yes if ( -.4e-5 ) yes() ; else no()
  369. > no if ( !.4e-5 ) yes() ; else no()
  370. > no if ( .4e-5 == .3e-5 ) yes() ; else no()
  371. > yes if ( .4e-5 != .3e-5 ) yes() ; else no()
  372. > no if ( .4e-5 <= .3e-5 ) yes() ; else no()
  373. > yes if ( .4e-5 >= .3e-5 ) yes() ; else no()
  374. > no if ( .4e-5 < .3e-5 ) yes() ; else no()
  375. > yes if ( .4e-5 > .3e-5 ) yes() ; else no()
  376. > yes if ( .4e-5 ? .4e-5 : .3e-5 ) yes() ; else no()
  377. > yes if ( x = .4e-5 ) yes() ; else no() 4.000000e-06
  378. > yes if ( x += .4e-5 ) yes() ; else no() 3.141504e+00
  379. > yes if ( x -= .4e-5 ) yes() ; else no() 3.141496e+00
  380. > yes if ( x /= .4e-5 ) yes() ; else no() 7.853750e+05
  381. > yes if ( x *= .4e-5 ) yes() ; else no() 1.256600e-05
  382. > yes if ( x ++ ) yes() ; else no() 4.141500e+00
  383. > yes if ( x -- ) yes() ; else no() 2.141500e+00
  384. > yes if ( -- x ) yes() ; else no() 2.141500e+00
  385. > yes if ( ++ x ) yes() ; else no() 4.141500e+00
  386. *** Error code 1 (ignored)
  387. sed -f lf.sed <OPS >lf.c
  388. acc -DNOFLOAT lf.c
  389. lf.c
  390. running lf.cem
  391. comparing lf
  392. 0a1,$
  393. > .4e-5 + .3e-5
  394. > .4e-5 - .3e-5
  395. > .4e-5 / .3e-5
  396. > .4e-5 * .3e-5
  397. > .4e-5 || .3e-5
  398. > .4e-5 && .3e-5
  399. > -.4e-5
  400. > !.4e-5
  401. > .4e-5 == .3e-5
  402. > .4e-5 != .3e-5
  403. > .4e-5 <= .3e-5
  404. > .4e-5 >= .3e-5
  405. > .4e-5 < .3e-5
  406. > .4e-5 > .3e-5
  407. > .4e-5 ? .4e-5 : .3e-5
  408. > x = .4e-5 4.000000e-06
  409. > x += .4e-5 3.141504e+00
  410. > x -= .4e-5 3.141496e+00
  411. > x /= .4e-5 7.853750e+05
  412. > x *= .4e-5 1.256600e-05
  413. > x ++ 4.141500e+00
  414. > x -- 2.141500e+00
  415. > -- x 2.141500e+00
  416. > ++ x 4.141500e+00
  417. > y = ( .4e-5 + .3e-5 ) 7.000000e-06
  418. > y = ( .4e-5 - .3e-5 ) 1.000000e-06
  419. > y = ( .4e-5 / .3e-5 ) 1.333333e+00
  420. > y = ( .4e-5 * .3e-5 ) 1.200000e-11
  421. > y = ( .4e-5 || .3e-5 ) 1.000000e+00
  422. > y = ( .4e-5 && .3e-5 ) 1.000000e+00
  423. > y = ( -.4e-5 ) -4.000000e-06
  424. > y = ( !.4e-5 ) 0.000000e+00
  425. > y = ( .4e-5 == .3e-5 ) 0.000000e+00
  426. > y = ( .4e-5 != .3e-5 ) 1.000000e+00
  427. > y = ( .4e-5 <= .3e-5 ) 0.000000e+00
  428. > y = ( .4e-5 >= .3e-5 ) 1.000000e+00
  429. > y = ( .4e-5 < .3e-5 ) 0.000000e+00
  430. > y = ( .4e-5 > .3e-5 ) 1.000000e+00
  431. > y = ( .4e-5 ? .4e-5 : .3e-5 ) 4.000000e-06
  432. > y = ( x = .4e-5 ) 4.000000e-06 4.000000e-06
  433. > y = ( x += .4e-5 ) 3.141504e+00 3.141504e+00
  434. > y = ( x -= .4e-5 ) 3.141496e+00 3.141496e+00
  435. > y = ( x /= .4e-5 ) 7.853750e+05 7.853750e+05
  436. > y = ( x *= .4e-5 ) 1.256600e-05 1.256600e-05
  437. > y = ( x ++ ) 4.141500e+00 3.141500e+00
  438. > y = ( x -- ) 2.141500e+00 3.141500e+00
  439. > y = ( -- x ) 2.141500e+00 2.141500e+00
  440. > y = ( ++ x ) 4.141500e+00 4.141500e+00
  441. > yes if ( .4e-5 + .3e-5 ) yes() ; else no()
  442. > yes if ( .4e-5 - .3e-5 ) yes() ; else no()
  443. > yes if ( .4e-5 / .3e-5 ) yes() ; else no()
  444. > yes if ( .4e-5 * .3e-5 ) yes() ; else no()
  445. > yes if ( .4e-5 || .3e-5 ) yes() ; else no()
  446. > yes if ( .4e-5 && .3e-5 ) yes() ; else no()
  447. > yes if ( -.4e-5 ) yes() ; else no()
  448. > no if ( !.4e-5 ) yes() ; else no()
  449. > no if ( .4e-5 == .3e-5 ) yes() ; else no()
  450. > yes if ( .4e-5 != .3e-5 ) yes() ; else no()
  451. > no if ( .4e-5 <= .3e-5 ) yes() ; else no()
  452. > yes if ( .4e-5 >= .3e-5 ) yes() ; else no()
  453. > no if ( .4e-5 < .3e-5 ) yes() ; else no()
  454. > yes if ( .4e-5 > .3e-5 ) yes() ; else no()
  455. > yes if ( .4e-5 ? .4e-5 : .3e-5 ) yes() ; else no()
  456. > yes if ( x = .4e-5 ) yes() ; else no() 4.000000e-06
  457. > yes if ( x += .4e-5 ) yes() ; else no() 3.141504e+00
  458. > yes if ( x -= .4e-5 ) yes() ; else no() 3.141496e+00
  459. > yes if ( x /= .4e-5 ) yes() ; else no() 7.853750e+05
  460. > yes if ( x *= .4e-5 ) yes() ; else no() 1.256600e-05
  461. > yes if ( x ++ ) yes() ; else no() 4.141500e+00
  462. > yes if ( x -- ) yes() ; else no() 2.141500e+00
  463. > yes if ( -- x ) yes() ; else no() 2.141500e+00
  464. > yes if ( ++ x ) yes() ; else no() 4.141500e+00
  465. *** Error code 1 (ignored)
  466. sed -f li.sed <OPS >li.c
  467. acc -DNOFLOAT li.c
  468. li.c
  469. running li.cem
  470. comparing li
  471. sed -f ll.sed <OPS >ll.c
  472. acc -DNOFLOAT ll.c
  473. ll.c
  474. running ll.cem
  475. comparing ll
  476. sed -f lu.sed <OPS >lu.c
  477. acc -DNOFLOAT lu.c
  478. lu.c
  479. running lu.cem
  480. comparing lu
  481. ***** ctill
  482. ----- All program(s) in this directory should fail to compile.
  483. acc -DNOFLOAT noarg.c
  484. noarg.c
  485. "noarg.c", line 14: name not in parameter list
  486. *** Error code 1
  487. `gen' not remade because of errors
  488. ***** ctinit
  489. acc -DNOFLOAT init.c
  490. init.c
  491. running init.cem
  492. comparing init
  493. 41,$c41,$
  494. < long
  495. <
  496. < lo1 14
  497. < lo2 -17
  498. < lo3 2147483647
  499. < lo4 -2147483648
  500. < lo5 0
  501. < lo6 1
  502. <
  503. < structures
  504. <
  505. < st1 sta[0..2]
  506. < s_i 0 1 2 3
  507. < s_ca[0] 0 97 0 0
  508. < s_ca[1] 0 98 0 0
  509. < s_ca[2] 0 99 0 0
  510. < s_l 0 10 0 0
  511. < (sta[0].s_s1)->s_i = 1
  512. <
  513. < bit fields:
  514. <
  515. < sizeof stb 8
  516. < stb -1 -2 3 4 -1 6 7
  517. <
  518. ---
  519. > Floats:
  520. >
  521. > fl1 0.00000000000000000000e+00
  522. > fl2 2.00000000000000000000e+00
  523. > fl2 2.00000000000000000000e+00
  524. > fl4 4.00000000000000000000e+00
  525. > fl5 2.93873587705571892581e-39
  526. > fl6 1.70141173319264428000e+38
  527. > fl7 0.00000000000000000000e+00
  528. > fla1 fla2 fla3
  529. > 1.000000e+00 -1.000000e+00 1.100000e+01
  530. > 3.000000e+00 -3.000000e+00 0.000000e+00
  531. > 5.000000e+00 -5.000000e+00 0.000000e+00
  532. > 2.000000e+00 -2.000000e+00 1.200000e+01
  533. > 4.000000e+00 -4.000000e+00 0.000000e+00
  534. > 6.000000e+00 -6.000000e+00 0.000000e+00
  535. > 3.000000e+00 -3.000000e+00 1.300000e+01
  536. > 5.000000e+00 -5.000000e+00 0.000000e+00
  537. > 7.000000e+00 -7.000000e+00 0.000000e+00
  538. > 0.000000e+00 0.000000e+00 1.400000e+01
  539. > 0.000000e+00 0.000000e+00 0.000000e+00
  540. > 0.000000e+00 0.000000e+00 0.000000e+00
  541. >
  542. > Doubles:
  543. >
  544. > dbl1 0.00000000000000000000e+00
  545. > dbl2 2.00000000000000000000e+00
  546. > dbl2 2.00000000000000000000e+00
  547. > dbl4 4.00000000000000000000e+00
  548. > dbl5 2.93873600000000034793e-39
  549. > dbl6 1.70141170000000000000e+38
  550. > dbl7 0.00000000000000000000e+00
  551. > dbla1 dbla2 dbla3
  552. > 1.000000e+00 -1.000000e+00 1.100000e+01
  553. > 3.000000e+00 -3.000000e+00 0.000000e+00
  554. > 5.000000e+00 -5.000000e+00 0.000000e+00
  555. > 2.000000e+00 -2.000000e+00 1.200000e+01
  556. > 4.000000e+00 -4.000000e+00 0.000000e+00
  557. > 6.000000e+00 -6.000000e+00 0.000000e+00
  558. > 3.000000e+00 -3.000000e+00 1.300000e+01
  559. > 5.000000e+00 -5.000000e+00 0.000000e+00
  560. > 7.000000e+00 -7.000000e+00 0.000000e+00
  561. > 0.000000e+00 0.000000e+00 1.400000e+01
  562. > 0.000000e+00 0.000000e+00 0.000000e+00
  563. > 0.000000e+00 0.000000e+00 0.000000e+00
  564. >
  565. > long
  566. >
  567. > lo1 14
  568. > lo2 -17
  569. > lo3 2147483647
  570. > lo4 -2147483648
  571. > lo5 0
  572. > lo6 1
  573. >
  574. > structures
  575. >
  576. > st1 sta[0..2]
  577. > s_i 0 1 2 3
  578. > s_ca[0] 0 97 0 0
  579. > s_ca[1] 0 98 0 0
  580. > s_ca[2] 0 99 0 0
  581. > s_l 0 10 0 0
  582. > s_f 0.000000e+00 -1.000000e+01 0.000000e+00 0.000000e+00
  583. >
  584. > (sta[0].s_s1)->s_i = 1
  585. >
  586. > bit fields:
  587. >
  588. > sizeof stb 8
  589. > stb -1 -2 3 4 -1 6 7
  590. >
  591. *** Error code 1 (ignored)
  592. ***** ctmargt
  593. acc -DNOFLOAT margt.c
  594. margt.c
  595. running margt.cem
  596. comparing margt
  597. ***** ctprof
  598. test profiling
  599. procentry.c
  600. acc -DNOFLOAT tp.c procentry.m
  601. tp.c
  602. procentry.m
  603. running tp
  604. comparing tp
  605. ***** ctsetjmp
  606. acc -DNOFLOAT stjmp.c
  607. stjmp.c
  608. running stjmp.cem
  609. comparing stjmp
  610. ***** ctstruct
  611. acc -DNOFLOAT str.c
  612. str.c
  613. running str.cem
  614. comparing str
  615. ***** ctsys
  616. acc -DNOFLOAT tfork.c
  617. tfork.c
  618. running tfork.cem
  619. comparing tfork
  620. 1,$c1,$
  621. < childno 26404
  622. < Child 26404, status 0x800
  623. < fork/wait ok
  624. ---
  625. > childno 16276
  626. > Child 16276, status 0x800
  627. > fork/wait ok
  628. *** Error code 1 (ignored)
  629. Tue Apr 26 14:49:48 MET DST 1988