c99-snprintf
c99-snprintf copied to clipboard
[IMPROVEMENT] `mypow10` parameters or result should be checked to guard against overflow
Is there a known upper and lower bounds of the exponent, or a LDOUBLE_MAX variable or equivalent (maybe DBL_MAX)? If so, then we could protect against overflow.
The cast() function test against INTMAX_MAX for this very reason.