-
Notifications
You must be signed in to change notification settings - Fork 24
/
cfenv
executable file
·48 lines (39 loc) · 1.28 KB
/
cfenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// cfenv standard header (core)
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifndef _CFENV_
#define _CFENV_
#include <yvals_core.h>
#if _STL_COMPILER_PREPROCESSOR
#include <fenv.h>
#pragma pack(push, _CRT_PACKING)
#pragma warning(push, _STL_WARNING_LEVEL)
#pragma warning(disable : _STL_DISABLED_WARNINGS)
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new
_STD_BEGIN
_EXPORT_STD using _CSTD fegetround;
_EXPORT_STD using _CSTD fesetround;
#if !defined(_M_CEE) || defined(_CRTBLD)
_EXPORT_STD using _CSTD feclearexcept;
_EXPORT_STD using _CSTD fegetenv;
_EXPORT_STD using _CSTD fegetexceptflag;
_EXPORT_STD using _CSTD feholdexcept;
_EXPORT_STD using _CSTD fenv_t;
_EXPORT_STD using _CSTD fesetenv;
_EXPORT_STD using _CSTD fesetexceptflag;
_EXPORT_STD using _CSTD fetestexcept;
_EXPORT_STD using _CSTD fexcept_t;
#endif // !defined(_M_CEE) || defined(_CRTBLD)
#if !defined(_M_CEE) && !defined(_CRTBLD)
_EXPORT_STD using _CSTD feraiseexcept;
_EXPORT_STD using _CSTD feupdateenv;
#endif // !defined(_M_CEE) && !defined(_CRTBLD)
_STD_END
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
#pragma warning(pop)
#pragma pack(pop)
#endif // _STL_COMPILER_PREPROCESSOR
#endif // _CFENV_