X-Spam-Check-By: sourceware.org Message-ID: <62891.204.104.55.242.1158786293.squirrel@mail.arsystel.com> In-Reply-To: <23401.204.104.55.242.1158767331.squirrel@mail.arsystel.com> References: <23401 DOT 204 DOT 104 DOT 55 DOT 242 DOT 1158767331 DOT squirrel AT mail DOT arsystel DOT com> Date: Wed, 20 Sep 2006 23:04:53 +0200 (CEST) Subject: Re: llrint() into math.h From: =?iso-8859-1?Q?V=EDctor_Paesa?= To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.2-0.1.7.x MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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? > > Tim Prince wrote: > As Cygwin doesn't have its own , 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? The reason is that I found pretty strange that Google would find a llrint() implementation in one cygwin maillist, and that however Cygwin would not support that. I will ask in newlib list, as you have kindly suggested. Thanks for your hint, Víctor -- 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/