| 1711 | } |
| 1712 | |
| 1713 | static inline double safe_divide(double a, double b) |
| 1714 | { |
| 1715 | return b == 0 ? 0 : a / b; |
| 1716 | } |
| 1717 | |
| 1718 | // Returns a positive number formatted in a string in a human-readable way. |
| 1719 | // The string is always 7 characters or less (excluding null byte). |