Garrett D'Amore wrote:
> Roland Mainz wrote:
> > Peter Memishian wrote:
> >>  > > Can I assume that the C99 datatypes |float complex| and |double 
> >> complex|
> >>  > > can be used by code within OS/Net (I'd like to be sure before writing 
> >> a
> >>  > > larger piece of code (e.g. I don't want to fall into the same trap 
> >> like
> >>  > > in the C99/VLA case)) ?
> >>  >
> >>  > Uhm... does the silence mean "yes" or "no" ? :-)
> >>
> >> It probably means that no one on this list has tried to use it :-)  I'd
> >> think it should work fine though -- VLAs are a bit of a special case.
> >
> > Mhhh... but VLAs did work with ctftools with Sun Studio 10, too... but
> > then OS/Net switched over to Studio 11 and suddenly I had to throw away
> > some code because there was no way to compile it within the tree. That's
> > why I am carefully asking before investing lots of work based on |float
> > complex|/|double complex| and then receive a "bite" from the next
> > compiler update (e.g. Sun Studio 12 or a later patchlevel of Studio 11)
> 
> Dare I ask what you are considering using complex types for?

Complex floating point support for ksh93... that's why "typeset"
reserves the "-c/-C" options (erm, before anyone starts ranting about
code size... this will re-use the existing floating-point support
infrastructure and AFAIK the additions will be below 8k in code size
including the additional math function glue (which make the bulk of the
codesize right now)).

> I have a hard time imagining any code in ON that would realistically
> need it.

Not within OS/Net - but remember that scripting languages like perl,
python, ksh etc. are used for some scientific work and/or code
prototyping. For the same reason all the C99 math functions have been
squished into ksh93 in the version 's' development cycle...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to