get the decimal point character of the current locale */
| 237 | |
| 238 | /* get the decimal point character of the current locale */ |
| 239 | static unsigned char get_decimal_point(void) |
| 240 | { |
| 241 | #ifdef ENABLE_LOCALES |
| 242 | struct lconv *lconv = localeconv(); |
| 243 | return (unsigned char) lconv->decimal_point[0]; |
| 244 | #else |
| 245 | return '.'; |
| 246 | #endif |
| 247 | } |
| 248 | |
| 249 | typedef struct |
| 250 | { |
no outgoing calls
no test coverage detected