James Carlson <james.d.carlson at Sun.COM> 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:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily