In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/3b422749039e6e640968237aa14f904977b285f7?hp=c36075711e5fbe1f39d9cd2a98188b063f104be6>

- Log -----------------------------------------------------------------
commit 3b422749039e6e640968237aa14f904977b285f7
Author: Jarkko Hietaniemi <[email protected]>
Date:   Wed Sep 3 08:52:39 2014 -0400

    POSIX math: Win32 does not have erf and erfc.
-----------------------------------------------------------------------

Summary of changes:
 ext/POSIX/POSIX.xs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 74c0483..2c36823 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -365,18 +365,20 @@
 
 /* XXX Regarding C99 math.h, Win32 seems to be missing these:
 
-  exp2 fdim fma fmax fmin fpclassify ilogb lgamma log1p log2 lrint
+  erf erfc exp2 fdim fma fmax fmin fpclassify ilogb lgamma log1p log2 lrint
   remquo rint signbit tgamma trunc
 
   Win32 does seem to have these:
 
-  acosh asinh atanh cbrt copysign cosh erf erfc expm1 hypot log10 nan
+  acosh asinh atanh cbrt copysign cosh expm1 hypot log10 nan
   nearbyint nextafter nexttoward remainder round scalbn
 
   And the Bessel functions are defined like _this.
 */
 
 #ifdef WIN32
+#  undef c99_erf
+#  undef c99_erfc
 #  undef c99_exp2
 #  undef c99_fdim
 #  undef c99_fma

--
Perl5 Master Repository

Reply via email to