Re: [ast-users] Unsigned long int has a MAX of -1

2013-09-28 Thread Tina Harriott
On 19 September 2013 17:30, Tina Harriott tina.harriott.m...@gmail.com wrote: I found a small bug in i.MAX for unsigned long integers: ksh -c 'typeset -u -l -i i ; print -- $((i.MAX))' -1 This bug is still present in the latest language version: ksh --version version sh (ATT

[ast-users] [[ -v x.MAX ]] returns 0 if x is an integer variable

2013-09-28 Thread Tina Harriott
The -v test operand does not work for i.MAX if i is a constant of an integer type: ksh -c 'integer i; [[ -v i.MAX ]] echo var is there' Language version is the latest: ksh --version version sh (ATT Research) 93v- 2013-09-23 Tina -- Tina Harriott - Women in Mathematics Contact: