public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin floating point control
@ 2002-08-20 10:21 Jochen Küpper
  2002-08-20 17:52 ` Norman Vine
  0 siblings, 1 reply; 2+ messages in thread
From: Jochen Küpper @ 2002-08-20 10:21 UTC (permalink / raw)
  To: cygwin; +Cc: Numeric users ml

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?

Greetings,
Jochen

PS: It would be nice if you could cc me.
-- 
University of North Carolina                       phone: +1-919-962-4403
Department of Chemistry                            phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148)                    fax: +1-919-843-6041
Chapel Hill, NC 27599, USA                            GnuPG key: 44BCCD8E


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Cygwin floating point control
  2002-08-20 10:21 Cygwin floating point control Jochen Küpper
@ 2002-08-20 17:52 ` Norman Vine
  0 siblings, 0 replies; 2+ messages in thread
From: Norman Vine @ 2002-08-20 17:52 UTC (permalink / raw)
  To: 'Jochen Küpper', 'cygwin'; +Cc: 'Numeric users ml'

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

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

[-- Attachment #2: fpu.tgz --]
[-- Type: application/x-compressed, Size: 2573 bytes --]

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-20 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-20 10:21 Cygwin floating point control Jochen Küpper
2002-08-20 17:52 ` Norman Vine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).