Loading...
Searching...
No Matches
fpe_handler.cpp File Reference
#include "eon/fpe_handler.h"
#include <cfenv>
#include <csignal>
#include <cstdio>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  eonc
 RAII resource manager for the ARTn C library with global synchronization.

Functions

static void eonc::fpe_signal_handler (int sig, siginfo_t *sip, void *scp)
void eonc::enableFPE ()
void eonc::disableFPE ()

Variables

static constexpr unsigned eonc::MXCSR_MASK_IM = 1u << 7
static constexpr unsigned eonc::MXCSR_MASK_ZM = 1u << 9
static constexpr unsigned eonc::MXCSR_MASK_OM = 1u << 10