Scythe-1.0.3
|
Numerical precision error. More...
#include <scythestat/error.h>
Public Member Functions | |
scythe_precision_error (const std::string &file, const std::string &function, const unsigned int &line, const std::string &message="", const bool &halt=false) throw () |
Numerical precision error.
Library members throw this exception when a routine cannot complete a computation effectively and will sacrifice reasonable precision as a consequence. For example, passing a value too close to a negative integer to the gammafn function renders the function incapable of returning an accurate result and thus generates this exception.