summaryrefslogtreecommitdiff
path: root/src/fenv/feholdexcept.c
blob: 51ef526b09c46d6953bb3aef17e7e62ecb5876e1 (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
26
27
28
#include <fenv.h>
#include "_fenv.h"

int feholdexcept(fenv_t *envp)
{
	SIGNAL_SAFE(0);
	(void)envp;
	return 0;
}

CHECK_1(int, 0, feholdexcept, fenv_t *)

/*
The feholdexcept function saves the current floating-point environment in the object
pointed to by envp, clears the floating-point status flags, and then installs a non-stop
(continue on floating-point exceptions) mode, if available, for all floating-point
exceptions. 180)
*/

/*
The feholdexcept function returns zero if and only if non-stop floating-point
exception handling was successfully installed.
*/

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