Edward Pilatowicz wrote:
> On Sat, Jan 17, 2009 at 01:27:34AM +0100, Roland Mainz wrote:
> > Peter Memishian wrote:
> > >
> > >  > i'm afraid i might be damming myself by making this suggestion,
> > >  > but would using a pre-compiled ksh script solve this problem?
> > >
> > > I'm still puzzled by the whole need to replace `sleep' with a built-in.
> > > What was wrong with `sleep' as a C program?
> >
> > The problem was that it lacked some stuff like sub-second timeout,
> > support for hexadecimal floating-point values etc. There is nothing
> 
> wow.  i mean, wow.  i've used floating-point in shell scripts, but
> hexadecimal floating-point...  that's really hardcore.

Erm... no. Hexadecimal floating-poing ("hexfloat") is a side-effect of
C99/XPG6 compilance and has some importamce if you need to pass accurate
floating-point values around between applications (that's why
ksh93-integration update1 added "typeset -X" (see
http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2009-January/006761.html)
to have direct access to hexfloat values, avoiding the need to go
through $ printf "%a\n" varname # each time).

Or short: Each application which handles floating-point values is
_required_ to support the hexfloat format.

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to