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

int feupdateenv(const fenv_t *envp)
{
	SIGNAL_SAFE(0);
	(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)
*/