commit | ae03d26eeab7443dca21214382efdbd9e360aa0d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat May 08 07:35:00 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat May 08 10:48:17 2021 +0200 |
tree | 6769524d341e3087d6d29bcd2a9891db25004b53 | |
parent | 56d1d8dab0aed7f781486a34f1f47de4d0c3648f [diff] |
MINOR: tools: add a float-to-ascii conversion function We already had ultoa_r() and friends but nothing to emit inline floats. This is now done with ftoa_r() and F2A/F2H. Note that the latter both use the itoa_str[] as temporary storage and that the HTML format currently is the exact same as the ASCII one. The trailing zeroes are always timmed so these outputs are usable in user-visible output.