get the decimal point character of the current locale */
| 286 | |
| 287 | /* get the decimal point character of the current locale */ |
| 288 | static unsigned char get_decimal_point(void) |
| 289 | { |
| 290 | #ifdef ENABLE_LOCALES |
| 291 | struct lconv *lconv = localeconv(); |
| 292 | return (unsigned char) lconv->decimal_point[0]; |
| 293 | #else |
| 294 | return '.'; |
| 295 | #endif |
| 296 | } |
| 297 | |
| 298 | typedef struct |
| 299 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…