43 TRACE(
"%c %#I64x *2^%d (round %d)\n", fp->
sign == -1 ?
'-' :
'+',
91 while(fp->
m && fp->
exp<0)
122 if (!fp->
m || fp->
exp < 0)
134 *
d = *(
double*)&
bits;
138#define I10_OUTPUT_MAX_PREC 21
170 if ((ld80.
x80[2] & 0x7fff) == 0x7fff)
172 if (ld80.
x80[0] == 0 && ld80.
x80[1] == 0x80000000)
175 strcpy(
data->str, (ld80.
x80[1] & 0x40000000) ?
"1#QNAN" :
"1#SNAN" );
177 data->sign = (ld80.
x80[2] & 0x8000) ?
'-' :
' ';
182 num.sign = (ld80.
x80[2] & 0x8000) ? -1 : 1;
183 num.exp = (ld80.
x80[2] & 0x7fff) - 0x3fff - 63;
225 if(
buf[1]!=
'0' && prec-
data->len+1>0)
230#undef I10_OUTPUT_MAX_PREC
_ACRTIMP double __cdecl floor(double)
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl sprintf_s(char *, size_t, const char *,...) __WINE_CRT_PRINTF_ATTR(3
_ACRTIMP int __cdecl atoi(const char *)
_ACRTIMP size_t __cdecl strlen(const char *)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
int fpnum_double(struct fpnum *fp, double *d)
#define I10_OUTPUT_MAX_PREC
int CDECL I10_OUTPUT(MSVCRT__LDOUBLE ld80, int prec, int flag, struct _I10_OUTPUT_DATA *data)
#define memcpy(s1, s2, n)
char str[I10_OUTPUT_MAX_PREC+1]