missing declaration for floorl

Fred Hansen zweibieren@yahoo.com
Wed Aug 1 20:47:00 GMT 2007


The random nubers package in http://www.agner.org/random/ uses function
floorl. It is present in the cygwin g++ library
(/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a), but is not declared in any of
the header files (cd /usr/include; grep -rI floorl). If I declare it:
    long double floorl(long double x);
then I can call it, link it, and get the correct result.

Should math.h be augmented with the declaration of floorl?

Thanks, Fred Hansen



      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck-s-v-r
Type: application/octet-stream
Size: 86429 bytes
Desc: 1051578768-cygcheck-s-v-r
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070801/28b92314/attachment.obj>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list