Lines Matching full:fenv
1 /* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:02 deraadt Exp $ */
2 /* $NetBSD: fenv.c,v 1.1 2010/07/31 21:47:53 joerg Exp $ */
30 #include <fenv.h>
47 * It can be used as an argument to the functions within the <fenv.h> header
77 fenv_t fenv;
83 __asm__ __volatile__ ("fnstenv %0" : "=m" (fenv));
86 fenv.__x87.__status &= ~excepts;
89 __asm__ __volatile__ ("fldenv %0" : : "m" (fenv));
153 fenv_t fenv;
159 __asm__ __volatile__ ("fnstenv %0" : "=m" (fenv));
162 fenv.__x87.__status &= ~excepts;
163 fenv.__x87.__status |= *flagp & excepts;
166 __asm__ __volatile__ ("fldenv %0" : : "m" (fenv));