12#ifndef FORTRAN_RUNTIME_EXCEPTIONS_H_
13#define FORTRAN_RUNTIME_EXCEPTIONS_H_
15#include "flang/Runtime/entry-names.h"
19namespace Fortran::runtime {
27std::uint32_t RTNAME(MapException)(std::uint32_t excepts);
31void RTNAME(feclearexcept)(std::uint32_t excepts);
32void RTNAME(feraiseexcept)(std::uint32_t excepts);
33std::uint32_t RTNAME(fetestexcept)(std::uint32_t excepts);
34void RTNAME(fedisableexcept)(std::uint32_t excepts);
35void RTNAME(feenableexcept)(std::uint32_t excepts);
36std::uint32_t RTNAME(fegetexcept)(void);
40bool RTNAME(SupportHalting)(uint32_t except);
43bool RTNAME(GetUnderflowMode)(void);
44void RTNAME(SetUnderflowMode)(
bool flag);
47std::size_t RTNAME(GetModesTypeSize)(void);
48std::size_t RTNAME(GetStatusTypeSize)(void);