math
library exceptionsThe most likely cause of an exception is an attempt to apply a
math
library function to nil
or to an argument that
doesn't represent a floating point number. In these cases, an error
message of <'missing value'>
or <'invalid value'>
will
be the result.
An error message of <'invalid asprintf() specifier'>
is
reported by the asprintf
function if the format specifier
pertains to a string, such as '%s'
. This error is specifically
trapped because the alternative would be a segmentation
fault. Otherwise, invalid format specifiers are not detected or
reported.
Error messages of <'invalid text format'>
can be generated
by conversion functions if any parameters that are meant to be
character string representations are something else.
There is always a chance of a <'memory overflow'>
error if
there is insufficient memory to allocate a result.