2 * Derived from mingw-w64 header.
3 * This file is in the public domain.
5 #ifndef __WINE_FPIEEE_H
6 #define __WINE_FPIEEE_H
19 } _FPIEEE_COMPARE_RESULT
;
142 } _FP_OPERATION_CODE
;
146 _FpRoundMinusInfinity
,
147 _FpRoundPlusInfinity
,
149 } _FPIEEE_ROUNDING_MODE
;
158 typedef double _FP64
;
161 typedef unsigned short _U16
;
162 typedef unsigned int _U32
;
163 typedef __int64 _Q64
;
169 typedef struct DECLSPEC_ALIGN(16) {
173 typedef struct DECLSPEC_ALIGN(8) {
177 typedef struct DECLSPEC_ALIGN(8) {
185 typedef struct DECLSPEC_ALIGN(16) {
207 unsigned int OperandValid
: 1;
208 unsigned int Format
: 4;
212 unsigned int Inexact
: 1;
213 unsigned int Underflow
: 1;
214 unsigned int Overflow
: 1;
215 unsigned int ZeroDivide
: 1;
216 unsigned int InvalidOperation
: 1;
217 } _FPIEEE_EXCEPTION_FLAGS
;
220 unsigned int RoundingMode
: 2;
221 unsigned int Precision
: 3;
222 unsigned int Operation
:12;
223 _FPIEEE_EXCEPTION_FLAGS Cause
;
224 _FPIEEE_EXCEPTION_FLAGS Enable
;
225 _FPIEEE_EXCEPTION_FLAGS Status
;
226 _FPIEEE_VALUE Operand1
;
227 _FPIEEE_VALUE Operand2
;
228 _FPIEEE_VALUE Result
;
229 } _FPIEEE_RECORD
,*_PFPIEEE_RECORD
;
231 struct _EXCEPTION_POINTERS
;
233 _ACRTIMP
int __cdecl
_fpieee_flt(__msvcrt_ulong _ExceptionCode
,struct _EXCEPTION_POINTERS
*_PtExceptionPtr
,int (__cdecl
*_Handler
)(_FPIEEE_RECORD
*));