summaryrefslogtreecommitdiff
path: root/src/fenv/fegetround.c
blob: 03389e639f1ce54b89e187399cf92d4d489268be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <fenv.h>
#include "_safety.h"

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

/*
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)
*/