summaryrefslogtreecommitdiff
path: root/src/fenv/fegetround.c
blob: 2aa18464661ca15f22c81c4a3ef039b712153f2b (plain)
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
#include <fenv.h>
#include "_fenv.h"

int fegetround(void)
{
	SIGNAL_SAFE(0);
	return 0;
}

CHECK_0(int, 0, fegetround)

/*
The fegetround function gets the current rounding direction.
*/

/*
The fegetround function returns the value of the rounding direction macro
representing the current rounding direction or a negative value if there is no such
rounding direction macro or the current rounding direction is not determinable.
*/

/*
STDC(199901)
LINK(m)
*/