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

tag to specify tie to positive inf rounding behavior in arithmetic 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 tie to positive inf rounding behavior in arithmetic operations

Arithmetic operations using this tag round round the mid-point value to positive infinity direction and round all other values to their nearest representable value.

See also
rounding_integer, convert, tie_to_pos_inf_rounding_tag