summaryrefslogtreecommitdiff
path: root/src/fenv/feupdateenv.c
blob: 07a03986793776cacf2ad3e81d48df27ae71e9e5 (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 feupdateenv(const fenv_t *envp)
{
	SIGNAL_SAFE(0);
	ASSERT_PREV_FENV(envp);
	(void)envp;
	return 0;
}

CHECK_1(int, 0, feupdateenv, const fenv_t *)

/*
The feupdateenv function saves the currently raised floating-point exceptions in its
automatic storage, installs the floating-point environment represented by the object
pointed to by envp, and then raises the saved floating-point exceptions. The argument
envp shall point to an object set by a call to feholdexcept or fegetenv, or equal a
floating-point environment macro.
d*/

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