Make small fixes and oops ran clang-format on dtoa
This commit is contained in:
9340
third_party/dtoa/dtoa.c
vendored
9340
third_party/dtoa/dtoa.c
vendored
File diff suppressed because it is too large
Load Diff
9
third_party/dtoa/dtoa.h
vendored
9
third_party/dtoa/dtoa.h
vendored
@@ -3,20 +3,15 @@
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
/* see also xdtoa() in //libc/x */
|
||||
double strtod(const char *s00, char **se);
|
||||
char *g_fmt(char *buf /*[32]*/, double x);
|
||||
|
||||
char *dtoa(double d, int mode, int ndigits, int *decpt, int *sign,
|
||||
char **rve) nodiscard;
|
||||
void freedtoa(char *s);
|
||||
char *dtoa_r(double dd, int mode, int ndigits, int *decpt, int *sign,
|
||||
char **rve, char *buf, size_t blen);
|
||||
double plan9_strtod(const char *as, char **aas);
|
||||
|
||||
/* #if defined(TINY) || defined(TINY_STRTOD) */
|
||||
/* #define strtod(X, Y) plan9_strtod(X, Y) */
|
||||
/* #endif */
|
||||
double strtod(const char *, char **);
|
||||
double plan9_strtod(const char *, char **);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
Reference in New Issue
Block a user