This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: llrint() into math.h


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]