libstdc++: fenv.h Source File (original) (raw)

Go to the documentation of this file.

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#ifndef _GLIBCXX_FENV_H

30#define _GLIBCXX_FENV_H 1

31

32#pragma GCC system_header

33

35#if _GLIBCXX_HAVE_FENV_H

36# include_next <fenv.h>

37#endif

38

39#if __cplusplus >= 201103L

40

41#if _GLIBCXX_USE_C99_FENV

42

43#undef feclearexcept

44#undef fegetexceptflag

45#undef feraiseexcept

46#undef fesetexceptflag

47#undef fetestexcept

48#undef fegetround

49#undef fesetround

50#undef fegetenv

51#undef feholdexcept

52#undef fesetenv

53#undef feupdateenv

54

55namespace std

56{

57

58 using ::fenv_t;

59 using ::fexcept_t;

60

61

62 using ::feclearexcept;

63 using ::fegetexceptflag;

64 using ::feraiseexcept;

65 using ::fesetexceptflag;

66 using ::fetestexcept;

67

68 using ::fegetround;

69 using ::fesetround;

70

71 using ::fegetenv;

72 using ::feholdexcept;

73 using ::fesetenv;

74 using ::feupdateenv;

75}

76

77#endif

78

79#endif

80

81#endif

ISO C++ entities toplevel namespace is std.