EXTREMELY limited 'round' - without 'libm'. Assumes values that fit in intmax_t. */
| 411 | /* EXTREMELY limited 'round' - without 'libm'. |
| 412 | Assumes values that fit in intmax_t. */ |
| 413 | static inline intmax_t |
| 414 | simple_round_nearest (long double val) |
| 415 | { |
| 416 | return val < 0 ? val - 0.5 : val + 0.5; |
| 417 | } |
| 418 | |
| 419 | ATTRIBUTE_CONST |
| 420 | static inline long double |