ELC in dev
ELC-lang
|
算术类型帮助类型 任何后续定义的新算术类型都可以重载这些类型来实现数学库的泛型支持 更多...
Public 类型 | |
using | unsigned_type = decltype(λ{ if constexpr(type_info< T >==type_info< bool >) return T() |
using | signed_type = decltype(λ{ if constexpr(type_info< T >==type_info< bool >) return T() |
using | float_type = decltype(λ{ if constexpr(is_float_type) return T() |
using | integer_type = decltype(λ{ if constexpr(is_integer_type) return T() |
Public 成员函数 | |
else if | constexpr (is_float_type) return T() |
else if | constexpr ()) |
else if | constexpr (is_float_type) return T() |
else if | constexpr ()) |
else if | constexpr (is_integer_type) return .0 |
else if | constexpr (is_float_type) return 0 |
静态 Public 成员函数 | |
static constexpr auto | quiet_NaN () noexcept |
static constexpr auto | signaling_NaN () noexcept |
static constexpr auto | NaN () noexcept |
static constexpr auto | Inf () noexcept |
static constexpr auto | negative_Inf () noexcept |
static constexpr auto | min () noexcept |
static constexpr auto | max () noexcept |
static constexpr auto | ε () noexcept |
静态 Public 属性 | |
static constexpr bool | is_arithmetic_type =::std::is_arithmetic_v<T> || is_elc_expansion_base_type<T> |
static constexpr bool | is_basic_type =::std::is_arithmetic_v<T> |
static constexpr bool | is_big_type =false |
static constexpr bool | is_float_type =::std::is_floating_point_v<T> |
static constexpr bool | is_exponent_float_type =is_float_type |
static constexpr bool | is_fraction_float_type =false |
static constexpr bool | is_integer_type =::std::is_integral_v<T> |
static constexpr bool | is_signed =::std::is_signed_v<T> |
static constexpr bool | has_quiet_NaN =has_quiet_NaN_helper() |
static constexpr bool | has_signaling_NaN =has_signaling_NaN_helper() |
static constexpr bool | has_NaN =has_quiet_NaN || has_signaling_NaN |
static constexpr bool | has_inf =has_inf_helper() |
static constexpr bool | has_min =is_arithmetic_type |
static constexpr bool | has_max =is_arithmetic_type |
static constexpr bool | has_ε =is_arithmetic_type |
算术类型帮助类型 任何后续定义的新算术类型都可以重载这些类型来实现数学库的泛型支持
在文件 all_defs.cpp 第 8365 行定义.
using elc::defs::base::math::arithmetic_type_info_prover< T >::float_type = decltype(λ{ if constexpr(is_float_type) return T() |
在文件 all_defs.cpp 第 8469 行定义.
using elc::defs::base::math::arithmetic_type_info_prover< T >::integer_type = decltype(λ{ if constexpr(is_integer_type) return T() |
在文件 all_defs.cpp 第 8476 行定义.
using elc::defs::base::math::arithmetic_type_info_prover< T >::signed_type = decltype(λ{ if constexpr(type_info<T> == type_info<bool>) return T() |
在文件 all_defs.cpp 第 8460 行定义.
using elc::defs::base::math::arithmetic_type_info_prover< T >::unsigned_type = decltype(λ{ if constexpr(type_info<T> == type_info<bool>) return T() |
在文件 all_defs.cpp 第 8452 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8447 行定义.
else if elc::defs::base::math::arithmetic_type_info_prover< T >::constexpr | ( | ) |
else if elc::defs::base::math::arithmetic_type_info_prover< T >::constexpr | ( | ) |
else if elc::defs::base::math::arithmetic_type_info_prover< T >::constexpr | ( | is_float_type | ) |
else if elc::defs::base::math::arithmetic_type_info_prover< T >::constexpr | ( | is_float_type | ) |
else if elc::defs::base::math::arithmetic_type_info_prover< T >::constexpr | ( | is_float_type | ) |
else if elc::defs::base::math::arithmetic_type_info_prover< T >::constexpr | ( | is_integer_type | ) |
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8422 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8440 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8434 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8406 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8425 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8400 行定义.
|
inlinestaticconstexprnoexcept |
在文件 all_defs.cpp 第 8403 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8445 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8421 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8432 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8430 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8398 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8396 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8397 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8367 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8369 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8371 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8375 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8373 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8376 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8378 行定义.
|
staticconstexpr |
在文件 all_defs.cpp 第 8380 行定义.