Stratax 0.3.1
Loading...
Searching...
No Matches
stratax::core::math_detail::PowResult< L, R > Struct Template Reference

Determines the common result dtype for a binary math operation. More...

#include <Math.hpp>

Public Types

using promoted_type
 Dtype obtained from the ordinary Stratax promotion rules.
using type
 Promoted dtype, with integral-only results changed to float64.

Detailed Description

template<typename L, typename R>
struct stratax::core::math_detail::PowResult< L, R >

Determines the common result dtype for a binary math operation.

Definition at line 73 of file Math.hpp.

Member Typedef Documentation

◆ promoted_type

template<typename L, typename R>
using stratax::core::math_detail::PowResult< L, R >::promoted_type
Initial value:
promote_t<
std::remove_cvref_t<L>,
std::remove_cvref_t<R>>

Dtype obtained from the ordinary Stratax promotion rules.

Definition at line 76 of file Math.hpp.

◆ type

template<typename L, typename R>
using stratax::core::math_detail::PowResult< L, R >::type
Initial value:
std::conditional_t<
dtype::float64,
promote_t< std::remove_cvref_t< L >, std::remove_cvref_t< R > > promoted_type
Dtype obtained from the ordinary Stratax promotion rules.
Definition Math.hpp:76

Promoted dtype, with integral-only results changed to float64.

Definition at line 82 of file Math.hpp.


The documentation for this struct was generated from the following file: