tinymt-cpp  0.0.1
tinymt::detail::is_twos_complement< T > Struct Template Reference

Checks whether the given integral type T (or its signed type) uses 2's complement for the signed integer representation. More...

#include <tinymt.h>

Inheritance diagram for tinymt::detail::is_twos_complement< T >:
Inheritance graph
[legend]
Collaboration diagram for tinymt::detail::is_twos_complement< T >:
Collaboration graph
[legend]

Detailed Description

template<class T>
struct tinymt::detail::is_twos_complement< T >

Checks whether the given integral type T (or its signed type) uses 2's complement for the signed integer representation.

Note
If TINYMT_CPP_TWOS_COMPLEMENT is defined, then its value overwrites the check and totally controls the result.

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