9.0
general documentation
Loading...
Searching...
No Matches
cs_fp_exception.cpp File Reference
#include "base/cs_defs.h"
#include <errno.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft/bft_mem.h"
#include "bft/bft_printf.h"
#include "base/cs_fp_exception.h"
Include dependency graph for cs_fp_exception.cpp:

Functions

void cs_fp_exception_enable_trap (void)
 Enable floating-point exception trapping.
void cs_fp_exception_disable_trap (void)
 Disable floating-point exception trapping.
void cs_fp_exception_restore_trap (void)
 Restore floating-point exception trapping.

Function Documentation

◆ cs_fp_exception_disable_trap()

void cs_fp_exception_disable_trap ( void )

Disable floating-point exception trapping.

Uses a counter to handle nested calls.

◆ cs_fp_exception_enable_trap()

void cs_fp_exception_enable_trap ( void )

Enable floating-point exception trapping.

Uses a counter to handle nested calls.

◆ cs_fp_exception_restore_trap()

void cs_fp_exception_restore_trap ( void )

Restore floating-point exception trapping.