|
Stratax 0.3.1
|
Determines the common result dtype for a binary math operation. More...
#include <Math.hpp>
Public Types | |
| using | promoted_type = promote_t< std::remove_cvref_t< L >, std::remove_cvref_t< R > > |
| Dtype obtained from the ordinary Stratax promotion rules. | |
| using | type = std::conditional_t< Integral< promoted_type >, dtype::float64, promoted_type > |
| Promoted dtype, with integral-only results changed to float64. | |
Determines the common result dtype for a binary math operation.
| using stratax::core::math_detail::PowResult< L, R >::promoted_type = promote_t< std::remove_cvref_t<L>, std::remove_cvref_t<R> > |
| using stratax::core::math_detail::PowResult< L, R >::type = std::conditional_t< Integral<promoted_type>, dtype::float64, promoted_type> |