AS_FLAGS="-arch x86_64 ${AS_FLAGS}"
;;
esac
- CFLAGS="${CFLAGS} ${MACOSX_CFLAGS}"
+ CFLAGS="${CFLAGS} ${MACOSX_CFLAGS} -frounding-math"
LDFLAGS="${LDFLAGS} ${MACOSX_CFLAGS} -Wl,-syslibroot,${MACOSX_SYSROOT}"
LDFLAGS="${LDFLAGS} -framework CoreFoundation"
MODULE_LDFLAGS="${MODULE_LDFLAGS} -bundle"
#endif
;
+#ifdef HAVE_FEDISABLEEXCEPT
static int
arg_untrappable_float_exceptions (int n)
{
return (non_trappable_exceptions | (arg_float_exceptions (n)));
}
+#endif
+#ifdef HAVE_FEENABLEEXCEPT
static int
arg_trappable_float_exceptions (int n)
{
error_bad_range_arg (n);
return (exceptions);
}
+#endif
+#if ((defined (HAVE_FEENABLEEXCEPT)) && (defined (HAVE_FEDISABLEEXCEPT)))
static int
arg_float_exceptions_to_trap (int n)
{
error_bad_range_arg (n);
return (exceptions);
}
+#endif
\f
#define FLOAT_EXCEPTIONS_PRIMITIVE(E) \
{ \
FLOAT_EXCEPTIONS_RESULT (exceptions);
}
#else
- error_unimplemented_primitive ();
- PRIMITIVE_RETURN (UNSPECIFIC);
+ PRIMITIVE_RETURN (ULONG_TO_FIXNUM (0));
#endif
}
FLOAT_EXCEPTIONS_RESULT (previous_exceptions);
}
#else
- error_unimplemented_primitive ();
PRIMITIVE_RETURN (UNSPECIFIC);
#endif
}
# ifdef HAVE_FEXCEPT_T
# define scheme_fexcept_t fexcept_t
# endif
+# ifdef __APPLE__
+# undef HAVE_FEGETEXCEPT
+# endif
#elif ((!defined (CMPINTMD_EMULATES_FENV)) && (defined (HAVE_IEEEFP_H)))
/* Assumption: If we have <ieeefp.h>, then we don't need to test for