1adime_double2string(3)        Adime API Reference       adime_double2string(3)
2
3
4

NAME

6       adime_double2string
7

SYNOPSIS

9       #include <adime.h>
10
11
12       void adime_double2string(double x, char *buf);
13

DESCRIPTION

15       Function for pretty-printing floating point numbers: The number gets at
16       most 10 digits to the left of the decimal point, at most 9 to the right
17       of  it,  and at most 10 totally. If the absolute value of the number is
18       >= 10000000000 or  <  0.000001,  it  is  written  in  exponential  form
19       instead. Exponential form has at most 6 digits in the mantissa, so that
20       the total number of digits never exceeds 9. Does not support Unicode.
21
22

SEE ALSO

24       adime_udouble2string(3)
25
26
27
28Adime                            version 2.2.1          adime_double2string(3)
Impressum