ARTS 2.5.4 (git: 4c0d3b4d)
|
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. More... | |
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.
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(), Species::is_predefined_model(), ArtsParser::parse_intvector_from_string(), ArtsParser::parse_numvector_from_string(), ArtsParser::read_integer(), and ArtsParser::read_numeric().
|
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(), cart2poslos(), cart2poslos_plain(), checkIsotopologueRatios(), chk_atm_field(), cloudbox_field_monoIterate(), cloudbox_field_ngAcceleration(), derive_scat_species_a_and_b(), doit_scat_fieldNormalize(), Zeeman::Model::empty(), find_cloudlimits(), iyCalc(), main(), MCGeneral(), Species::mean_mass(), particle_massesFromMetaData(), particle_massesFromMetaDataSingleCategory(), pha_mat_labCalc(), ppathFromRtePos2(), psd_mgd_mass_and_something(), psdModifiedGamma(), psdModifiedGammaMass(), CIARecord::ReadFromCIA(), scat_dataCheck(), oem::ArtsLog< type >::step(), and yCalc_mblock_loop_body().
|
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(), double_istream::operator>>(), XMLTag::read_from_stream(), Quantum::Number::rstrip(), and xml_read_header_from_stream().