James Carlson <[EMAIL PROTECTED]> wrote:

> Roland Mainz writes:
> > Is there a precedent that an application in OS/Net links with
> > libsunmath.a ?
>
> Only cmd/fps/fptest.
>
> > The problem is that libm.so.2 lacks some functions (e.g.
> > |iszero()|, |issubnormal()| etc.) and libsunmath.so.1 sits in
> > /opt/SUNWspro/prod/lib/ ... ;-(
>
> Note that depending on libsunmath.a likely means that OpenSolaris
> participants can't easily compile with gcc.  That seems like a bad
> thing to me.

The usual way to deal with this is to use functions that are part of relevent 
standards. iszero() is not listed by POSIX, fpclassify() is.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to