Basilisk CFD
Adaptive Cartesian mesh PDE framework
Loading...
Searching...
No Matches
fp_osx.h File Reference
#include <fenv.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for fp_osx.h:

Go to the source code of this file.

Functions

int fegetexcept (void)
 
int feenableexcept (unsigned int excepts)
 
int fedisableexcept (unsigned int excepts)
 
void fhdl (int sig, siginfo_t *sip, ucontext_t *scp)
 

Variables

static const charfe_code_name []
 

Function Documentation

◆ fedisableexcept()

int fedisableexcept ( unsigned int  excepts)

Definition at line 216 of file fp_osx.h.

◆ feenableexcept()

int feenableexcept ( unsigned int  excepts)

Definition at line 213 of file fp_osx.h.

◆ fegetexcept()

int fegetexcept ( void  )

Definition at line 210 of file fp_osx.h.

◆ fhdl()

void fhdl ( int  sig,
siginfo_t sip,
ucontext_t scp 
)

Definition at line 275 of file fp_osx.h.

References fe_code_name, t, and x.

Variable Documentation

◆ fe_code_name

const char* fe_code_name[]
static
Initial value:
= {
"FPE_NOOP",
"FPE_FLTDIV", "FPE_FLTINV", "FPE_FLTOVF", "FPE_FLTUND",
"FPE_FLTRES", "FPE_FLTSUB", "FPE_INTDIV", "FPE_INTOVF"
"FPE_UNKNOWN"
}

Definition at line 253 of file fp_osx.h.

Referenced by fhdl().