Class precision
Synopsis
#include "breeze/meta/precision.hpp"
template< typename T >
class precision
: public constant< int, std::numeric_limits< T >::digits >
Description
Metafunction yielding the precision of a type.
The precision of T
is the number of bits that T
uses to represent values, excluding any sign and padding bits.
This is a meta::constant, with value_type
int
.
- See
- meta::width and meta::padding.
- Type requirements
T
shall be an integral type or a cv-qualified version thereof.
Inheritance
Ancestors: constant
Source
Lines 41-45 in breeze/meta/precision.hpp.
template< typename T >
class precision
: public constant< int, std::numeric_limits< T >::digits >
{
} ;