VTK  9.3.0
vtkFloatingPointExceptions.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
17#ifndef vtkFloatingPointExceptions_h
18#define vtkFloatingPointExceptions_h
19
20#include "vtkCommonCoreModule.h" // For export macro
21#include "vtkSystemIncludes.h" // For VTKCOMMONCORE_EXPORT
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKCOMMONCORE_EXPORT vtkFloatingPointExceptions
25{
26public:
30 static void Enable();
31
35 static void Disable();
36
37private:
40 void operator=(const vtkFloatingPointExceptions&) = delete;
41};
42
43VTK_ABI_NAMESPACE_END
44#endif
45// VTK-HeaderTest-Exclude: vtkFloatingPointExceptions.h
Deal with floating-point exceptions.
static void Disable()
Disable floating point exceptions.
static void Enable()
Enable floating point exceptions.