2002-09-05 19:51:26 +08:00
|
|
|
#include <fenv.h>
|
|
|
|
|
|
|
|
/* 7.6.4.1
|
|
|
|
The fegetenv function stores the current floating-point environment
|
|
|
|
in the object pointed to by envp. */
|
|
|
|
|
2005-08-25 10:35:34 +08:00
|
|
|
void fegetenv (fenv_t * envp)
|
2002-09-05 19:51:26 +08:00
|
|
|
{
|
|
|
|
__asm__ ("fnstenv %0;": "=m" (*envp));
|
|
|
|
}
|
|
|
|
|