delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/23/15:41:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: 0QXzEBUVM1nRGIGfmqJ1Jgv.q9iXhmuIw2US98eDSqanSHJN6BDMbmFadEQwlRWpYztKObVIMtHjzV282FlwDUBQ1BJdvpNxAu7tRWpde6LZcEBQQr_sNjDGMkODgQW0blPTxVDpAi_xDYqfcgjJIVUZ1A--
Message-ID: <46F6C151.3070301@computer.org>
Date: Sun, 23 Sep 2007 12:41:05 -0700
From: Tim Prince <tprince AT computer DOT org>
User-Agent: Thunderbird 2.0.0.4 (X11/20070613)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: llrint implementation in Cygwin
References: <fd68u2$geo$1 AT sea DOT gmane DOT org>
In-Reply-To: <fd68u2$geo$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Diego Biurrun wrote:
> Hi!
> 
> I have noticed that Cygwin does not implement llrint.  However, llrint
> is part of C99 and not having it available makes some applications (for
> example MPlayer and FFmpeg) fail to compile.
> 
> Are there any plans to implement llrint (in the near future)?
> 

Perhaps if you would submit a patch to newlib, something may happen.
It's not difficult to back-port stand-alone from recent gcc if you don't
want to wait for cygwin to include a gcc upgrade, about which there have
been plenty of threads here.  You could include it in a <mathinline.h>
of your choice.
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01970.html
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01973.html
shows that it has been available for 2.5 years.  The x87 code quoted
there appears to be SSE3.

--
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