[ast-users] C ode example how to enumerate fields of a compound variable?

2014-11-03 Thread Tina Harriott
' value='0xff0a' Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.m...@gmail.com ___ ast-users mailing list ast-users@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-users

Re: [ast-users] nan payload support in next ksh93/libast tarball?

2014-09-17 Thread Tina Harriott
Lionel, Glenn, do you have updates? Tina On 12 September 2014 18:54, Tina Harriott tina.harriott.m...@gmail.com wrote: On 9 September 2014 23:11, Lionel Cons lionelcons1...@gmail.com wrote: On 3 September 2014 15:30, Lionel Cons lionelcons1...@gmail.com wrote: What is the status of the nan

Re: [ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-11-18 Thread Tina Harriott
On 23 October 2013 03:59, Tina Harriott tina.harriott.m...@gmail.com wrote: On 11 August 2013 10:43, Tina Harriott tina.harriott.m...@gmail.com wrote: On Wed, Jul 24, 2013 at 7:28 PM, Glenn Fowler g...@research.att.com wrote: On Wed, 24 Jul 2013 19:02:39 +0200 Tina Harriott wrote: Here's one

Re: [ast-users] [ast-developers] Temporary project work at Google Code?

2013-11-07 Thread Tina Harriott
tweaks are the least stable part of linux distros Can you say how long it all take until AST resumes operations? I'd be interested in updates, too. Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.m...@gmail.com ___ ast-users mailing

[ast-users] for loop in arithmetic expressions proposal?

2013-10-22 Thread Tina Harriott
I think I once saw a proposal to allow for loops within arithmetic expressions. Does anyone have a link to it? What happened to the proposal? Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.m...@gmail.com ___ ast-users mailing list

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 Research

[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

Re: [ast-users] [ast-developers] Unit of least precision (ULP)/spacing between floating point number problems

2013-09-04 Thread Tina Harriott
in a future release. There are four types, integer, float, double, and long double. How long will it take until ksh -c 'typeset -s -E x=4 ; print $(( x=nextafter(x,5) ))' uses nextafterf()? Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.m...@gmail.com

[ast-users] Unset method for multidimensional array crashes ksh

2013-08-30 Thread Tina Harriott
The example below crashes any ksh version I could find, even the latest sh (ATT Research) 93v- 2013-08-27 function f { typeset -a a ; a.unset() { print unset ; } ; a[3][6][11][20]=7 ; } ; f Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.m...@gmail.com

[ast-users] Compound variable declarations do not work in namespace

2013-08-18 Thread Tina Harriott
.com.foo.container' ( ) Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.m...@gmail.com ___ ast-users mailing list ast-users@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-users

[ast-users] Passing a file descriptor to a child process?

2013-07-29 Thread Tina Harriott
ksh93 uses O_CLOEXEC to avoid passing all its file descriptors to a child process. That is IMO a good thing (clean!). However, is there a way to pass a file descriptor to a child process? Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.mathemat...@gmail.com

Re: [ast-users] Nested namespaces for function/type libraries (e.g. com.att.research...) ... / was: Re: ksh -c 'namespace a.c.b { integer i=5 ; } ; ' = a.c.b: is not an identifier?

2013-07-29 Thread Tina Harriott
imagine it would just work like wrapping your favourite functions into a statement like namespace ca.uwaterloo.math.statistics1.util {} and you can share them without risk, right? Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.mathemat...@gmail.com

Re: [ast-users] Edit 10GB file with fixed size records

2013-07-25 Thread Tina Harriott
. How would this example look like if I opened a file descriptor with the number 19? ksh seems to use file descriptors 0-9 for manual usage, but descriptors opened with exec {filed}name.rec use numbers 10. Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.mathemat...@gmail.com

Re: [ast-users] ACL lists not preserved when copying files with ksh cp

2013-07-24 Thread Tina Harriott
On 23 July 2013 20:43, Glenn Fowler g...@research.att.com wrote: On Tue, 23 Jul 2013 19:16:43 +0200 Tina Harriott wrote: I hope this is the right place to report to. On Suse Linux nfs4 ACL lists are not preserved if I copy files with ksh's builtin cp command. To demonstrate: 1. touch aaa

[ast-users] Demo code and contrib packages?

2013-07-24 Thread Tina Harriott
Does ast-ksh have extension packages like demo and contrib like bash and zsh do? Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.mathemat...@gmail.com ___ ast-users mailing list ast-users@lists.research.att.com http

[ast-users] Unit of least precision (ULP)/spacing between floating point number problems

2013-07-24 Thread Tina Harriott
v ; integer iter ; for ((iter=0,v=4 ; v 4.0001 iter 1000; v=nextafter(v,4.0001))) ; do ((iter++));done;print $iter ' 1000 Can anyone explain this? Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.mathemat...@gmail.com

Re: [ast-users] Demo code and contrib packages?

2013-07-24 Thread Tina Harriott
On 24 July 2013 19:32, Glenn Fowler g...@research.att.com wrote: On Wed, 24 Jul 2013 18:52:14 +0200 Tina Harriott wrote: Does ast-ksh have extension packages like demo and contrib like bash and zsh do? in ksh user extension are called builtins and have an main(argc,argv,context) api its

[ast-users] ACL lists not preserved when copying files with ksh cp

2013-07-23 Thread Tina Harriott
. ACL support is IMO a mandatory enterprise system feature and needs to be supported. Tina -- Tina Harriott - Women in Mathematics Contact: tina.harriott.mathemat...@gmail.com ___ ast-users mailing list ast-users@lists.research.att.com http