1 # ifndef CPPAD_CORE_NUMERIC_LIMITS_HPP
2 # define CPPAD_CORE_NUMERIC_LIMITS_HPP
142 # include <cppad/configure.hpp>
154 template <
class Float>
161 "numeric_limits<Float>::epsilon() is not specialized for this Float"
169 "numeric_limits<Float>::min() is not specialized for this Float"
177 "numeric_limits<Float>::max() is not specialized for this Float"
185 "numeric_limits<Float>::quiet_NaN() is not specialized for this Float"
194 template <
class Base>
#define CPPAD_ASSERT_KNOWN(exp, msg)
Check that exp is true, if not print msg and terminate execution.
Define processor symbols and macros that are used by CppAD.
static AD< Base > epsilon(void)
machine epsilon
static Float max(void)
maximum finite value
static const int digits10
number of decimal digits
static Float quiet_NaN(void)
not a number
static Float epsilon(void)
machine epsilon
Define the CppAD error checking macros (all of which begin with CPPAD_ASSERT_)
static AD< Base > max(void)
maximum finite value
static Float min(void)
minimum positive normalized value
CppAD forward declarations; i.e., before definition.
All tthese defaults correspond to errors.
static AD< Base > quiet_NaN(void)
not a number
static AD< Base > min(void)
minimum positive normalized value