delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/20/12:16:53

X-Spam-Check-By: sourceware.org
Message-ID: <45116962.3090207@sbcglobal.net>
Date: Wed, 20 Sep 2006 09:16:34 -0700
From: Tim Prince <timothyprince AT sbcglobal DOT net>
Reply-To: tprince AT myrealbox DOT com
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: llrint() into math.h
References: <23401 DOT 204 DOT 104 DOT 55 DOT 242 DOT 1158767331 DOT squirrel AT mail DOT arsystel DOT com>
In-Reply-To: <23401.204.104.55.242.1158767331.squirrel@mail.arsystel.com>
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

Víctor Paesa wrote:
> Hi,
> 
> I understand that currently, the llrint() function is only available
> for -mno-cygwin compiled programs:
> 
> $ fgrep llrint $(find /usr/include -name '*.h')
> /usr/include/mingw/math.h:extern long long __cdecl llrint (double);
> /usr/include/mingw/math.h:extern long long __cdecl llrintf (float);
> /usr/include/mingw/math.h:extern long long __cdecl llrintl (long double);
> /usr/include/mingw/math.h:__CRT_INLINE long long __cdecl llrint (double x)
> /usr/include/mingw/math.h:__CRT_INLINE long long __cdecl llrintf (float x)
> /usr/include/mingw/math.h:__CRT_INLINE long long __cdecl llrintl (long
> double x)
> 
> 
> but looking in Cygwin's maillist I noticed this:
> 
> http://sourceware.org/ml/cygwin/2002-12/msg01146/mathinline.h
> 
> Are there plans to incorporate the llrint() and friends into Cygwin's math.h?
As Cygwin doesn't have its own <math.h>, other than what is provided by 
newlib, it's not clear that you are asking in the right place.  Why 
don't you simply use macro code such as you quote?

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