delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/23/18:33:59

X-Spam-Check-By: sourceware.org
Message-ID: <444C00C4.1000402@doc.ic.ac.uk>
Date: Sun, 23 Apr 2006 23:33:40 +0100
From: Andrew Cheadle <amc4 AT doc DOT ic DOT ac DOT uk>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Processor rounding modes
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

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 DOT cheadle AT doc DOT ic DOT ac DOT 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/

- Raw text -


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