CNL  2.0.2 (development)
Compositional Numeric Library
cnl::nearest_rounding_tag Struct Reference

tag to specify round-to-nearest behavior in arithemtic operations More...

#include <cnl/rounding.h>

Inherits cnl::_impl::homogeneous_deduction_tag_base, and cnl::_impl::homogeneous_operator_tag_base.

Detailed Description

tag to specify round-to-nearest behavior in arithemtic operations

Arithmetic operations using this tag round to the nearest representatable value in situations where the precise value cannot be represented.

See also
rounding_integer, convert, native_rounding_tag