CNL  2.0.2 (development)
Compositional Numeric Library
cnl::set_rounding< Number, RoundingTag > Struct Template Reference

given a numeric type, defines member type as the equivalent type with the given rounding mode User-specializations of this type are permitted. More...

#include <\note>

Inherited by cnl::set_rounding< Number &&, RoundingTag >, and cnl::set_rounding< Number &, RoundingTag >.

Detailed Description

template<typename Number, rounding_tag RoundingTag>
struct cnl::set_rounding< Number, RoundingTag >

given a numeric type, defines member type as the equivalent type with the given rounding mode User-specializations of this type are permitted.

Note
Native numeric types are only convertible to native_rounding_tag.
See also
rounding, set_rounding_t, native_rounding_tag, nearest_rounding_tag