2 * Written by J.T. Conklin <jtc@netbsd.org>.
5 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
7 * Removed header file dependency for use in libmingwex.a by
8 * Danny Smith <dannysmith@users.sourceforge.net>
11 #include <reactos/asm.h>
19 fld dword ptr [esp + 4]
22 fstcw [esp + 4] /* store fpu control word */
24 /* We use here %edx although only the low 1 bits are defined.
25 But none of the operations should care and they are faster
26 than the 16 bit operations. */
28 or edx, HEX(0400) /* round towards -oo */
31 fldcw [esp] /* load modified control word */
35 fldcw [esp + 4] /* restore original control word */