| 1 |
// |
| 2 |
// SPDX-License-Identifier: BSD-3-Clause |
| 3 |
// Copyright Contributors to the OpenEXR Project. |
| 4 |
// |
| 5 |
|
| 6 |
// clang-format off |
| 7 |
|
| 8 |
#ifndef _PyImathMathExc_h_ |
| 9 |
#define _PyImathMathExc_h_ |
| 10 |
|
| 11 |
// |
| 12 |
// Note: when PyImath from the v2 release of OpenEXR depended on Iex, |
| 13 |
// the MATH_EXC_ON macro enabled float-point exceptions via the |
| 14 |
// MathExcOn class. This was a compile-time option based on the |
| 15 |
// setting of PYIMATH_ENABLE_EXCEPTIONS. This behavior is now |
| 16 |
// deprecated, hence the empty macro. |
| 17 |
// |
| 18 |
|
| 19 |
#define MATH_EXC_ON |
| 20 |
|
| 21 |
#endif |