VTK  9.3.20240423
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
36#ifndef vtkFloatingPointExceptions_h
37#define vtkFloatingPointExceptions_h
38
39#include "vtkCommonCoreModule.h" // For export macro
40#include "vtkSystemIncludes.h" // For VTKCOMMONCORE_EXPORT
41
42VTK_ABI_NAMESPACE_BEGIN
43class VTKCOMMONCORE_EXPORT vtkFloatingPointExceptions
44{
45public:
49 static void Enable();
50
54 static void Disable();
55
56private:
59 void operator=(const vtkFloatingPointExceptions&) = delete;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif
64// VTK-HeaderTest-Exclude: vtkFloatingPointExceptions.h
Deal with floating-point exceptions.
static void Disable()
Disable floating point exceptions.
static void Enable()
Enable floating point exceptions.