ARTS 2.5.10 (git: 2f1c442c)
|
Functions | |
template<class T > | |
constexpr T | abs (T x) noexcept |
constexpr int | isdigit (int ch) noexcept |
constexpr int | isspace (int ch) noexcept |
Returns 1 if x is a standard space-character. | |
constexpr bool | isnan (double d) noexcept |
constexpr bool | isnan (long double d) noexcept |
constexpr bool | isnan (float d) noexcept |
For std functions that are changed somehow
|
constexprnoexcept |
abs(x) returns |x| using -x if x < 0 or x otherwise
Reason to re-implement: std::abs(x) is not officially constexpr
[in] | x | Any real value type |
Definition at line 13 of file nonstd.h.
References abs().
Referenced by Interpolation::min_cyclic().
|
constexprnoexcept |
Checks if the given character in 0123456789.
Reason to re-implement: std::isdigit(ch) is not officially constexpr
The int-interface is kept from the standard
[in] | ch | A character |
Definition at line 24 of file nonstd.h.
Referenced by Quantum::Number::cast_qnrat(), Species::is_normal_isotopologue(), and Species::is_predefined_model().
|
constexprnoexcept |
Checks if the given value is nan
Reason to re-implement: std::isnan(d) is not officially constexpr
Only the three basic interfaces are implemented
[in] | d | A value |
Definition at line 53 of file nonstd.h.
References d.
Referenced by _complex_operations_(), Species::all_have_ratio(), Species::IsotopologueRatios::all_isotopes_have_a_value(), main(), Species::mean_mass(), and Species::names_of_have_and_havenot_ratio().
|
constexprnoexcept |
|
constexprnoexcept |
|
constexprnoexcept |
Returns 1 if x is a standard space-character.
Reason to re-implement: std::isspace(ch) is not officially constexpr
The int-interface is kept from the standard
[in] | x | a character |
Definition at line 39 of file nonstd.h.
Referenced by Quantum::Number::count_items(), enum_strarray(), Quantum::Number::items(), Quantum::Number::lstrip(), and Quantum::Number::rstrip().