blob: 8af5103377a83459d929dd3f9e44982df81d219e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <fenv.h>
/* 7.6.4.1
The fegetenv function stores the current floating-point environment
in the object pointed to by envp. */
int fegetenv (fenv_t * envp)
{
__asm__ ("fnstenv %0;": "=m" (*envp));
return 0;
}
|