get the decimal point character of the current locale */
| 275 | |
| 276 | /* get the decimal point character of the current locale */ |
| 277 | static unsigned char get_decimal_point(void) |
| 278 | { |
| 279 | #ifdef ENABLE_LOCALES |
| 280 | struct lconv *lconv = localeconv(); |
| 281 | return (unsigned char) lconv->decimal_point[0]; |
| 282 | #else |
| 283 | return '.'; |
| 284 | #endif |
| 285 | } |
| 286 | |
| 287 | typedef struct |
| 288 | { |
no outgoing calls
no test coverage detected