VTK  9.3.20240423
Static Public Member Functions | List of all members
vtkFloatingPointExceptions Class Reference

Deal with floating-point exceptions. More...

#include <vtkFloatingPointExceptions.h>

Static Public Member Functions

static void Enable ()
 Enable floating point exceptions.
 
static void Disable ()
 Disable floating point exceptions.
 

Detailed Description

Deal with floating-point exceptions.

Right now it is really basic and it only provides a function to enable floating point exceptions on some compilers. Note that Borland C++ has floating-point exceptions by default, not Visual studio nor gcc. It is mainly use to optionally enable floating point exceptions in the C++ tests.

Online Examples:

Tests:
vtkFloatingPointExceptions (Tests)

Definition at line 43 of file vtkFloatingPointExceptions.h.

Member Function Documentation

◆ Enable()

static void vtkFloatingPointExceptions::Enable ( )
static

Enable floating point exceptions.

◆ Disable()

static void vtkFloatingPointExceptions::Disable ( )
static

Disable floating point exceptions.


The documentation for this class was generated from the following file: