From b918632a2aa389cd788634b3f08a81e66193b016 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Sun, 30 Dec 2007 21:12:08 +0000 Subject: [PATCH] * cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf, _f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions. (lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions. (llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_* versions likewise. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. --- winsup/cygwin/ChangeLog | 9 +++++++++ winsup/cygwin/cygwin.din | 24 ++++++++++++++++++------ winsup/cygwin/include/cygwin/version.h | 5 ++++- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 2eb84886a..66cb33130 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,12 @@ +2007-12-30 Dave Korn + + * cygwin.din (_f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf, + _f_lrintl, _f_rint, _f_rintf, _f_rintl): Export fast *rint* functions. + (lrint, lrintf, rint, rintf): Redirect exports to alias _f_ versions. + (llrint, llrintf, llrintl, lrintl, rintl): Add exports aliasing _f_* + versions likewise. + * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. + 2007-12-22 Corinna Vinschen * fhandler.h (class fhandler_dev_random): Add dummy_offset member. diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 657fb6d9d..eb767c55c 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -377,6 +377,9 @@ _f_ldexp NOSIGFE __f_ldexp = _f_ldexp NOSIGFE _f_ldexpf NOSIGFE __f_ldexpf = _f_ldexpf NOSIGFE +_f_llrint NOSIGFE +_f_llrintf NOSIGFE +_f_llrintl NOSIGFE _f_log NOSIGFE __f_log = _f_log NOSIGFE _f_log10 NOSIGFE @@ -385,10 +388,16 @@ _f_log10f NOSIGFE __f_log10f = _f_log10f NOSIGFE _f_logf NOSIGFE __f_logf = _f_logf NOSIGFE +_f_lrint NOSIGFE +_f_lrintf NOSIGFE +_f_lrintl NOSIGFE _f_pow NOSIGFE __f_pow = _f_pow NOSIGFE _f_powf NOSIGFE __f_powf = _f_powf NOSIGFE +_f_rint NOSIGFE +_f_rintf NOSIGFE +_f_rintl NOSIGFE _f_tan NOSIGFE __f_tan = _f_tan NOSIGFE _f_tanf NOSIGFE @@ -845,6 +854,9 @@ _link = link SIGFE listen = cygwin_listen SIGFE llabs NOSIGFE lldiv NOSIGFE +llrint = _f_llrint NOSIGFE +llrintf = _f_llrintf NOSIGFE +llrintl = _f_llrintl NOSIGFE localeconv NOSIGFE _localeconv = localeconv NOSIGFE localtime SIGFE @@ -875,8 +887,9 @@ longjmp NOSIGFE _longjmp = longjmp NOSIGFE lrand48 NOSIGFE _lrand48 = lrand48 NOSIGFE -lrint NOSIGFE -lrintf NOSIGFE +lrint = _f_lrint NOSIGFE +lrintf = _f_lrintf NOSIGFE +lrintl = _f_lrintl NOSIGFE lround NOSIGFE lroundf NOSIGFE lsearch NOSIGFE @@ -1199,10 +1212,9 @@ _rewinddir = rewinddir SIGFE rexec = cygwin_rexec SIGFE rindex NOSIGFE _rindex = rindex NOSIGFE -rint NOSIGFE -_rint = rint NOSIGFE -rintf NOSIGFE -_rintf = rintf NOSIGFE +rint = _f_rint NOSIGFE +rintf = _f_rintf NOSIGFE +rintl = _f_rintl NOSIGFE rmdir SIGFE _rmdir = rmdir SIGFE round NOSIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 97e45f09e..52e6a98d1 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -319,12 +319,15 @@ details. */ 176: Export wcstol, wcstoll, wcstoul, wcstoull, wcsxfrm. 177: Export sys_sigabbrev 178: Export wcpcpy, wcpncpy. + 179: Export _f_llrint, _f_llrintf, _f_llrintl, _f_lrint, _f_lrintf, + _f_lrintl, _f_rint, _f_rintf, _f_rintl, llrint, llrintf, llrintl, + rintl, lrintl, and redirect exports of lrint, lrintf, rint, rintf. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 178 +#define CYGWIN_VERSION_API_MINOR 179 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible