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
26#ifndef vtkFloatingPointExceptions_h
27#define vtkFloatingPointExceptions_h
28
29#include "vtkCommonCoreModule.h" // For export macro
30#include "vtkSystemIncludes.h" // For VTKCOMMONCORE_EXPORT
31
32VTK_ABI_NAMESPACE_BEGIN
33class VTKCOMMONCORE_EXPORT vtkFloatingPointExceptions
34{
35public:
39 static void Enable();
40
44 static void Disable();
45
46private:
49 void operator=(const vtkFloatingPointExceptions&) = delete;
50};
51
52VTK_ABI_NAMESPACE_END
53#endif
54// VTK-HeaderTest-Exclude: vtkFloatingPointExceptions.h
Deal with floating-point exceptions.
static void Disable()
Disable floating point exceptions.
static void Enable()
Enable floating point exceptions.