Miscellaneous Floating-point Functions

Functions

template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::floor (const nested< scalar< S > > &value)
 Applies floor(const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::ceil (const nested< scalar< S > > &value)
 Applies ceil(const scalar<S>&) to all elements of the provided containers and returns the result in order.
template<arbb_scalar_type_t S>
arbb::detail::disable_if
<!detail::is_scalar_fp< scalar
< S > >::value, nested< scalar
< S > > >::type 
arbb::round (const nested< scalar< S > > &value)
 Applies round(const scalar<S>&) to all elements of the provided containers and returns the result in order.

Function Documentation

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::floor ( const nested< scalar< S > > &  value  )  [inline]

Applies floor(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose floor is returned.

Definition at line 652 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::ceil ( const nested< scalar< S > > &  value  )  [inline]

Applies ceil(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose ceiling is returned.

Definition at line 678 of file elementwise_nested_scalar.hpp.

template<arbb_scalar_type_t S>
arbb ::detail::disable_if<!detail::is_scalar_fp< scalar<S> >::value, nested<scalar<S> > >::type arbb::round ( const nested< scalar< S > > &  value  )  [inline]

Applies round(const scalar<S>&) to all elements of the provided containers and returns the result in order.

The dimensionality and size of all containers must match. This function applies to containers of floating point type (arbb::f32 or arbb::f64).

Parameters:

value The floating-point value whose rounded value is returned.

Definition at line 782 of file elementwise_nested_scalar.hpp.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.