2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
7 #include <reactos/asm.h>
15 fld dword ptr [esp + 4]
18 fstcw [esp + 4] /* store fpu control word */
20 /* We use here %edx although only the low 1 bits are defined.
21 But none of the operations should care and they are faster
22 than the 16 bit operations. */
24 or edx, HEX(0800) /* round towards +oo */
27 fldcw [esp] /* load modified control word */
31 fldcw [esp + 4] /* restore original control word */