Go to the source code of this file.
|
char *ecvt | __PR ((double, int, int *, int *)) |
|
static int _ferr | __PR ((char *, double)) |
|
EXPORT int | ftoes (register char *s, MDOUBLE val, register int fieldwidth, register int ndigits) |
|
EXPORT int | ftofs (register char *s, MDOUBLE val, register int fieldwidth, register int ndigits) |
|
LOCAL int | _ferr (char *s, double val) |
|
◆ abs
◆ isinf
◆ isnan
◆ MDOUBLE
◆ NO_ISINF
◆ NO_ISNAN
◆ __PR() [1/2]
◆ __PR() [2/2]
◆ _ferr()
Definition at line 397 of file fconv.c.
char * strcpy(char *DstString, const char *SrcString)
Referenced by ftoes(), and ftofs().
◆ ftoes()
Definition at line 209 of file fconv.c.
222 #ifndef __DO_LONG_DOUBLE__ 234 #ifdef __DO_LONG_DOUBLE__ 244 if (fieldwidth >
len)
245 while (fieldwidth-- >
len)
249 #ifndef V7_FLOATSTYLE 253 #if defined(HAVE_LOCALECONV) && defined(USE_LOCALE) 261 *rs++ = rdecpt >= 0 ?
'+' :
'-';
262 rdecpt =
abs(rdecpt);
263 #ifdef __DO_LONG_DOUBLE__ 264 if (rdecpt >= 1000) {
265 *rs++ = rdecpt / 1000 +
'0';
269 #ifndef V7_FLOATSTYLE 273 *rs++ = rdecpt / 100 +
'0';
276 *rs++ = rdecpt / 10 +
'0';
277 *rs++ = rdecpt % 10 +
'0';
static size_t double int int int * sign
ACPI_SIZE strlen(const char *String)
static size_t double int int * decpt
static size_t double int ndigits
GLboolean GLboolean GLboolean b
_Check_return_ _CRTIMP char *__cdecl ecvt(_In_ double _Val, _In_ int _NumOfDigits, _Out_ int *_PtDec, _Out_ int *_PtSign)
_Check_return_opt_ _CRTIMP struct lconv *__cdecl localeconv(void)
char * strcpy(char *DstString, const char *SrcString)
LOCAL int _ferr(char *s, double val)
Referenced by for().
◆ ftofs()
Definition at line 290 of file fconv.c.
303 #ifndef __DO_LONG_DOUBLE__ 322 #ifdef __DO_LONG_DOUBLE__ 335 if (fieldwidth >
len)
336 while (fieldwidth-- >
len)
342 while (*
b &&
len-- > 0)
349 #ifndef V7_FLOATSTYLE 354 #if defined(HAVE_LOCALECONV) && defined(USE_LOCALE) static size_t double int int int * sign
ACPI_SIZE strlen(const char *String)
static size_t double int int * decpt
_Check_return_ _CRTIMP char *__cdecl fcvt(_In_ double _Val, _In_ int _NumOfDec, _Out_ int *_PtDec, _Out_ int *_PtSign)
static size_t double int ndigits
GLboolean GLboolean GLboolean b
_Check_return_ _CRTIMP char *__cdecl ecvt(_In_ double _Val, _In_ int _NumOfDigits, _Out_ int *_PtDec, _Out_ int *_PtSign)
_Check_return_opt_ _CRTIMP struct lconv *__cdecl localeconv(void)
char * strcpy(char *DstString, const char *SrcString)
LOCAL int _ferr(char *s, double val)
Referenced by for().
◆ _js_inf
char _js_inf[] = "(Infinity)" |
|
static |
◆ _js_nan