![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
異なる数値型どうしの計算結果として使う浮動小数点数型 More...
#include <CommonFloat.hpp>
Public Types | |
using | type = std::conditional_t<!std::is_floating_point_v< T > &&!std::is_floating_point_v< U >, double, std::common_type_t< T, U > > |
異なる数値型どうしの計算結果として使う浮動小数点数型
T | 数値型 |
U | 数値型 |
using s3d::CommonFloat< T, U, >::type = std::conditional_t<!std::is_floating_point_v<T> && !std::is_floating_point_v<U>, double, std::common_type_t<T, U> > |