IexMathIeeeExc.h 699 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Copyright (c) Contributors to the OpenEXR Project.
  4. //
  5. #ifndef INCLUDED_IEXMATHIEEE_EXC_H
  6. #define INCLUDED_IEXMATHIEEE_EXC_H
  7. //---------------------------------------------------------------------------
  8. //
  9. // Names for the loating point exceptions defined by IEEE standard 754
  10. //
  11. //---------------------------------------------------------------------------
  12. #include "IexExport.h"
  13. #include "IexNamespace.h"
  14. IEX_INTERNAL_NAMESPACE_HEADER_ENTER
  15. enum IEX_EXPORT_ENUM IeeeExcType
  16. {
  17. IEEE_OVERFLOW = 1,
  18. IEEE_UNDERFLOW = 2,
  19. IEEE_DIVZERO = 4,
  20. IEEE_INEXACT = 8,
  21. IEEE_INVALID = 16
  22. };
  23. IEX_INTERNAL_NAMESPACE_HEADER_EXIT
  24. #endif