TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
The meta-type ts::make_signed is a generalization of std::make_signed which works on floating point-types as well. More...
#include <tsIntegerUtils.h>
Public Types | |
using | type = typename make_signed_impl< T, sizeof(T), std::integral< T >, std::signed_integral< T > >::type |
The equivalent signed type. | |
The meta-type ts::make_signed is a generalization of std::make_signed which works on floating point-types as well.
The signed type of a floating-point type or a signed integer type is the type itself. The signed type of an unsigned integer type is the signed type with the immediately larger size.
T | An integral or floating-point type. |