Functions | |
template<arbb_scalar_type_t S> | |
arbb::detail::disable_if <!detail::is_scalar_fp< scalar < S > >::value, scalar< S > >::type | arbb::floor (const scalar< S > &value) |
Returns value rounded to the nearest integer towards negative infinity. | |
template<arbb_scalar_type_t S> | |
arbb::detail::disable_if <!detail::is_scalar_fp< scalar < S > >::value, scalar< S > >::type | arbb::ceil (const scalar< S > &value) |
Returns value rounded to the nearest integer towards positive infinity. | |
template<arbb_scalar_type_t S> | |
arbb::detail::disable_if <!detail::is_scalar_fp< scalar < S > >::value, scalar< S > >::type | arbb::round (const scalar< S > &value) |
Returns value rounded to the nearest integer. |
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, scalar<S> >::type arbb::floor | ( | const scalar< S > & | value | ) | [inline] |
Returns value
rounded to the nearest integer towards negative infinity.
This function only applies to scalars of floating point type (arbb::f32 or arbb::f64).
value | The floating-point value whose floor is returned. |
Definition at line 427 of file scalar_funcs.hpp.
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, scalar<S> >::type arbb::ceil | ( | const scalar< S > & | value | ) | [inline] |
Returns value
rounded to the nearest integer towards positive infinity.
This function only applies to scalars of floating point type (arbb::f32 or arbb::f64).
value | The floating-point value whose ceiling is returned. |
Definition at line 453 of file scalar_funcs.hpp.
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, scalar<S> >::type arbb::round | ( | const scalar< S > & | value | ) | [inline] |
Returns value
rounded to the nearest integer.
This function only applies to scalars of floating point type (arbb::f32 or arbb::f64).
value | The floating-point value whose rounded value is returned. |
Definition at line 557 of file scalar_funcs.hpp.
Copyright © 2010, Intel Corporation. All rights reserved.