CNL  2.0.2 (development)
Compositional Numeric Library
cnl::set_digits< T, Digits > Struct Template Reference

convert a type to a similar type with the given number of digits More...

#include <set_digits.h>

Detailed Description

template<class T, int Digits>
struct cnl::set_digits< T, Digits >

convert a type to a similar type with the given number of digits

Template Parameters
Tthe source type
Digitsthe desired number of digits