Hi!

----

Running the following testcase (derived from the "termclock.sh" demo -
see http://svn.nrubsig.org/svn/people/gisburn/scripts/termclock.sh)
with ast-ksh.2013-08-14 on SuSE 12.3/AMD64/64bit returns the wrong
result:
-- snip --
$ ksh -c 'compound v=( float v=10. s=20. ) ; function f { nameref h=$1
; print -- $(( (h.v/h.s)-90. )) ; } ; f v'
-90
-- snip --

ksh93u+ 2012-08-01 prints the correct result:
-- snip --
$ /usr/bin/ksh -c 'compound v=( float v=10. s=20. ) ; function f {
nameref h=$1 ; print -- $(( (h.v/h.s)-90. )) ; } ; f v'
-89.5
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to