TSDuck v3.40-3963
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::is_signed< T >::value >::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. |