HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IexMathExc.h
Go to the documentation of this file.
1 //
2 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright (c) Contributors to the OpenEXR Project.
4 //
5 
6 #ifndef INCLUDED_IEXMATHEXC_H
7 #define INCLUDED_IEXMATHEXC_H
8 
9 #include "IexBaseExc.h"
10 
12 
13 //--------------------------------------------------------
14 // Exception classes which correspond to specific floating
15 // point exceptions.
16 //--------------------------------------------------------
17 
18 DEFINE_EXC_EXP (IEX_EXPORT, OverflowExc, MathExc) // Overflow
19 DEFINE_EXC_EXP (IEX_EXPORT, UnderflowExc, MathExc) // Underflow
20 DEFINE_EXC_EXP (IEX_EXPORT, DivzeroExc, MathExc) // Division by zero
21 DEFINE_EXC_EXP (IEX_EXPORT, InexactExc, MathExc) // Inexact result
22 DEFINE_EXC_EXP (IEX_EXPORT, InvalidFpOpExc, MathExc) // Invalid operation
23 
25 
26 #endif // INCLUDED_IEXMATHEXC_H
IEX_INTERNAL_NAMESPACE_HEADER_ENTER DEFINE_EXC_EXP(IEX_EXPORT, OverflowExc, MathExc) DEFINE_EXC_EXP(IEX_EXPORT
#define IEX_EXPORT
Definition: IexExport.h:30
IEX_INTERNAL_NAMESPACE_HEADER_ENTER MathExc InexactExc
Definition: IexMathExc.h:21
#define IEX_INTERNAL_NAMESPACE_HEADER_ENTER
Definition: IexNamespace.h:79
#define IEX_INTERNAL_NAMESPACE_HEADER_EXIT
Definition: IexNamespace.h:82
IEX_INTERNAL_NAMESPACE_HEADER_ENTER UnderflowExc
Definition: IexMathExc.h:19