cppx-core
|
Functions and constants typically available on a scientific calculator, but somehow missing from the standard library. More...
Functions | |
CPPX_USE_CPPX (intpow, squared, cubed) | |
CPPX_USE_CPPX (is_even, is_odd, intdiv, intmod, intsquare, intcube, intmin, intmax) | |
CPPX_USE_CPPX (e, log2e, log10e, ln2, ln10, pi, inv_sqrt_pi, sqrt2, inv_sqrt2, has_nan_, has_nan, nan_, nan, has_infinity_, has_infinity, infinity_, infinity) | |
Functions and constants typically available on a scientific calculator, but somehow missing from the standard library.
Integer functions is_even
, is_odd
, intdiv
, intmod
, intsquare
, intcube
, intmin
, intmax
, and floating point intpow
, squared
and cubed
functions. Floating point functions has_nan
_, has_nan
, has_infinity_
, has_infinity
. Floating point constants e
, log2e
, log10e
, ln2
, ln10
, pi
, inv_sqrt_pi
, sqrt2
, inv_sqrt2
, nan_
, nan
, infinity_
, infinity
.
cppx::calc::CPPX_USE_CPPX | ( | is_even | , |
is_odd | , | ||
intdiv | , | ||
intmod | , | ||
intsquare | , | ||
intcube | , | ||
intmin | , | ||
intmax | |||
) |