[Numpy-discussion] RE: Cygwin floating point control

Norman Vine nhv at cape.com
Tue Aug 20 11:47:05 EDT 2002


Jochen Küpper writes:
>
>The following program does not link on Cygwin
>,----
>| #include <ieeefp.h>
>|
>| int main()
>| {
>|     return(fgetsticky());
>| }
>`----
>due to fpgetsticky beeing unresolved.
>
>fpgetsticky is declared in /usr/include/ieeefp.h, but I cannot find
>any library it is defined in.  A search on the Cywin site and at
>google didn't turn up anything for fpgetsticky on Cygwin. (?)
>
>Is it implemented?  If so, where?  If not, is there any substitute I
>should be using?

I use this 'home spun' header that I 'hacked' from the BSD sources

Not really sure if it is 100% right or if the license allows this to be
used in Cygwin 'proper' but ... it seems to work for me

HTH

Norman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpu.tgz
Type: application/x-compressed
Size: 2573 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20020820/4d9b0e1e/attachment-0001.bin>


More information about the NumPy-Discussion mailing list