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

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/

Reply via email to