On Sat 18 Feb 2017 18:37, Matt Wette writes:
> Patch includes (and attached) for guile-2.1.7. This uses macOS __sincos().
Thank you for this patch! Applied. The config.h.in is indeed
autogenerated (by autoheader, I think).
Andy
Thanks!
So, I may have missed the update for config.h.in. I am not sure this gets
autogenerated or not.
--- config.h.in.orig2017-02-18 13:27:19.0 -0800
+++ config.h.in 2017-02-18 13:27:45.0 -0800
@@ -2183,6 +2183,9 @@
/* Define to 1 if you have the `sincos' function. */
#undef HAV
numbers.c:scm_c_make_polar in guile-2.1.7 breaks on APPLE (macOS 10.12).Reason: APPLE does not have sincos(), and gcc will optimize sin/cos to use cexp(), and cexp() does not preserve sign of zero.Patch includes (and attached) for guile-2.1.7. This uses macOS __sincos().Example:In scm_c_make_polar