This commit is contained in:
Danny Robson 2015-08-25 17:13:49 +10:00
parent bb2bc1a9ca
commit 04fd82b112

View File

@ -94,13 +94,15 @@ unusual (void) {
#if defined(PLATFORM_LINUX)
#include <fenv.h>
void
enable_fpe (void) {
enable_fpe (void)
{
feenableexcept (FE_DIVBYZERO | FE_INVALID);
}
void
disable_fpe (void) {
disable_fpe (void)
{
feenableexcept (0);
}
#else