This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Processor rounding modes


Hi all,

Appologies, this is a question that keeps cropping up and the
answer seems to continue to be "it's not implemented, we'd
welcome a patch though". Could you please verify this:

I'm trying to get a version of some software running under Cygwin
and I'm having real problems in finding routines that directly interface
to the floating point processor rounding modes. I have code for
different architectures that use fpu_control.h, ieeefp.h, fenv.h and WIN32 float.h. However, for various reasons, I need cygwin's runtime library environment and can't use the native Win32 port nor the mingw runtime.


I keep seeing posts asking about fpu_control.h and answers saying it's
not implemented for Cygwin. Then I see that ieeefp.h has prototypes declarations for fpsetround and friends but there is no library to link with (AFAICT). Is this correct, is there a way to do this under
Cygwin or is Gary Polhill's library (announced http://sourceware.org/ml/cygwin/2004-06/msg00037.html) still the only way?


Many thanks for any assistance.

Kind regards

Andy

--
*********************************************************************
*  Andrew Cheadle                    email:  a.cheadle@doc.ic.ac.uk *
*  Department of Computing           http://www.doc.ic.ac.uk/~amc4/ *
*  Imperial College London                                          *
*********************************************************************



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]