Changeset 1b20da0 in mainline for uspace/lib/c/include/double_to_str.h
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/double_to_str.h
rdf6ded8 r1b20da0 32 32 #include <stddef.h> 33 33 34 /** Maximum number of digits double_to_*_str conversion functions produce. 34 /** Maximum number of digits double_to_*_str conversion functions produce. 35 35 * 36 36 * Both double_to_short_str and double_to_fixed_str generate digits out 37 * of a 64bit unsigned int number representation. The max number of 37 * of a 64bit unsigned int number representation. The max number of 38 38 * of digits is therefore 20. Add 1 to help users who forget to reserve 39 39 * space for a null terminator. … … 41 41 #define MAX_DOUBLE_STR_LEN (20 + 1) 42 42 43 /** Maximum buffer size needed to store the output of double_to_*_str 44 * functions. 43 /** Maximum buffer size needed to store the output of double_to_*_str 44 * functions. 45 45 */ 46 46 #define MAX_DOUBLE_STR_BUF_SIZE 21 … … 53 53 size_t, int *); 54 54 55 #endif 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.