Skip to main content

Module fpu_check

Module fpu_check 

Source
Expand description

FPU state checking for Intel Fortran compatibility

Structs§

FpuGuard
RAII guard that protects a computation from dangerous FPU settings
FpuState
Result of FPU state check

Functions§

get_fpu_state
Get current FPU state (x86/x86_64 only)
init_fpu_check
Initialize FPU check (call this early to trigger warning if needed)