This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Implementation of some ieeefp functions in Cygwin
- From: "Gary Polhill" <g dot polhill at macaulay dot ac dot uk>
- To: <cygwin at cygwin dot com>
- Date: Wed, 02 Jun 2004 10:23:03 +0100
- Subject: Implementation of some ieeefp functions in Cygwin
If anyone is interested, I have hacked together an implementation of some of the functions in ieeefp.h, for Cygwin on an Intel Pentium platform, including: fpsetround, fpgetround, fpsetsticky, fpgetsticky, finite, fpclass. fpsetmask and fpgetmask are also implemented, but I haven't tested trapping SIGFPE -- however, setting the masks does cause termination when a floating point error occurs. I'm afraid I don't have the time to work out how to provide a patch, and I have only tested it on a version of Cygwin (my cygwin1.dll has file version 1001.1.0, Product Version 1.1.1, and BuildDate 2000-04-07 00:28:57) supplied with a version of Swarm (2.1.1, see wiki.swarm.org). The source code is released under the GNU GPL, and available for download at http://www.macaulay.ac.uk/fearlus/floating-point/download.html
Gary Polhill
--
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/