diff options
Diffstat (limited to 'lib/ftoastr.h')
-rw-r--r-- | lib/ftoastr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ftoastr.h b/lib/ftoastr.h index 852e4000d2..78b569f3d9 100644 --- a/lib/ftoastr.h +++ b/lib/ftoastr.h @@ -49,6 +49,12 @@ int ftoastr (char *buf, size_t bufsize, int flags, int width, float x); int dtoastr (char *buf, size_t bufsize, int flags, int width, double x); int ldtoastr (char *buf, size_t bufsize, int flags, int width, long double x); +/* The last two functions except that the formatting takes place in + the C locale. */ +int c_dtoastr (char *buf, size_t bufsize, int flags, int width, double x); +int c_ldtoastr (char *buf, size_t bufsize, int flags, int width, long double x); + + /* Flag values for ftoastr etc. These can be ORed together. */ enum { |