delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/02/05:21:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <s0bdaaae.093@viking.mluri.sari.ac.uk>
Date: Wed, 02 Jun 2004 10:23:03 +0100
From: "Gary Polhill" <g DOT polhill AT macaulay DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Implementation of some ieeefp functions in Cygwin
Mime-Version: 1.0
X-MailScanner-MLURI: Found to be clean
X-MailScanner-MLURI-SpamCheck: not spam (whitelisted), SpamAssassin (score=-4.9, required 5, BAYES_00 -4.90)
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i529L8N5030185

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019