log2, log2f (pending newlib patch)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

log2, log2f (pending newlib patch)

Yaakov (Cygwin/X)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Corresponding patch just sent to newlib@.  Sending this now as a
headsup; if the version.h patch doesn't apply by the time the newlib
patch is accepted, let me know and I'll respin this.

2009-03-17  Yaakov Selkowitz  <[hidden email]>

        * cygwin.din: Export log2, log2f as functions.
        * posix.sgml: Add them to SUSv4 list.
        * include/cygwin/version.h: Bump API minor number.


Yaakov

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAknAWLwACgkQpiWmPGlmQSNCpACfYtginB1BefTWYc2CaIOj3KKi
SUEAoMn4TF9x5Z+LUTyRPwHO00oxjdU/
=jh8R
-----END PGP SIGNATURE-----

2009-03-17  Yaakov Selkowitz  <[hidden email]>

        * cygwin.din: Export log2, log2f as functions.
        * posix.sgml: Add them to SUSv4 list.
        * include/cygwin/version.h: Bump API minor number.


Index: cygwin/cygwin.din
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/cygwin.din,v
retrieving revision 1.208
diff -u -r1.208 cygwin.din
--- cygwin/cygwin.din 15 Mar 2009 13:45:01 -0000 1.208
+++ cygwin/cygwin.din 18 Mar 2009 01:55:35 -0000
@@ -903,6 +903,8 @@
 _log1p = log1p NOSIGFE
 log1pf NOSIGFE
 _log1pf = log1pf NOSIGFE
+log2 NOSIGFE
+log2f NOSIGFE
 logb NOSIGFE
 _logb = logb NOSIGFE
 logbf NOSIGFE
Index: cygwin/posix.sgml
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/posix.sgml,v
retrieving revision 1.32
diff -u -r1.32 posix.sgml
--- cygwin/posix.sgml 15 Mar 2009 13:45:01 -0000 1.32
+++ cygwin/posix.sgml 18 Mar 2009 01:55:36 -0000
@@ -368,6 +368,8 @@
     log10f
     log1p
     log1pf
+    log2
+    log2f
     logb
     logbf
     logf
Index: cygwin/include/cygwin/version.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/version.h,v
retrieving revision 1.291
diff -u -r1.291 version.h
--- cygwin/include/cygwin/version.h 15 Mar 2009 13:45:02 -0000 1.291
+++ cygwin/include/cygwin/version.h 18 Mar 2009 01:55:36 -0000
@@ -356,12 +356,13 @@
       205: Export wscanf, fwscanf, swscanf, vwscanf, vfwscanf, vswscanf.
       206: Export wcscasecmp, wcsncasecmp.
       207: Export wcsdup.
+      208: Export log2, log2f.
      */
 
      /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
 
 #define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 207
+#define CYGWIN_VERSION_API_MINOR 208
 
      /* There is also a compatibity version number associated with the
  shared memory regions.  It is incremented when incompatible

Reply | Threaded
Open this post in threaded view
|

Re: log2, log2f (pending newlib patch)

Corinna Vinschen-2
On Mar 17 21:13, Yaakov S wrote:
> Corresponding patch just sent to newlib@.  Sending this now as a
> headsup; if the version.h patch doesn't apply by the time the newlib
> patch is accepted, let me know and I'll respin this.

No worries.  I'm scanning the newlib list closely ATM anyway and I'll
apply these export patches for useful new functions in newlib almost
automatically now :)


Thanks,
Corinna


--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat
Reply | Threaded
Open this post in threaded view
|

Re: log2, log2f (pending newlib patch)

Corinna Vinschen-2
In reply to this post by Yaakov (Cygwin/X)
On Mar 17 21:13, Yaakov S wrote:
> * cygwin.din: Export log2, log2f as functions.
> * posix.sgml: Add them to SUSv4 list.
> * include/cygwin/version.h: Bump API minor number.

Patch applied.


Thanks,
Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat