On Tue, Jun 18, 2013 at 5:30 PM, Roland Mainz <[email protected]> wrote:
> On Tue, Jun 18, 2013 at 4:34 AM, Glenn Fowler <[email protected]> wrote:
>>
>> 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 following
> 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" ...

ksh on SPARC has problems with the pow() function. I don't know yet
why this happens.

Irek
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to