Roland Mainz
2013-06-18 15:30:36 UTC
ast-ksh alpha 2013-06-13 source posted to
http://www.research.att.com/sw/download/alpha/
still a work in progess, but progress has been made in the
handling of signals in libast/vmalloc and ksh
On Solaris 11/B134/SPARC64/64bit/debug I'm getting the followinghttp://www.research.att.com/sw/download/alpha/
still a work in progess, but progress has been made in the
handling of signals in libast/vmalloc and ksh
failures from "arith.sh":
-- snip --
test arith begins at 2013-06-18+17:23:48
arith.sh[290]: 2**3 not working
arith.sh[293]: 2**3*2 not working
arith.sh[296]: 4**3**2 not working
arith.sh[299]: (4**3)**2 not working
arith.sh[565]: 4.**3/10!=6.4
arith.sh[573]: mysin() not close to sin()
arith.sh[769]: integer division with numbers near intmax not working
arith.sh[771]: integer division with denominator -1 fails
test arith failed at 2013-06-18+17:23:55 with exit code 8 [ 216 tests 8 errors ]
-- snip --
... the issues didn't occur in a 32bit optimised build of
ast-ksh.2013-06-11 ... either it's a new bug or an older triggered by
lack of test coverage... ;-/
Quick test...
-- snip --
$ ksh -c 'print $(( 2**3. )) $(( pow(2,3.) ))'
1 8
-- snip --
... it should print "8.8" ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)