Operations related to classical IEEE functions and the floating representation of real numbers
most of the standard function are present, but their names and calls can slightly change.
std:frexp, but return a kumi::tuple of two values mantissa and exponent. For ifrexp the exponent is and integral value, but for frexp it is a floating value.ifrexpn which indicates one want the nth representable value that follows (resp. precedes) the first parameter. Variables | |
| constexpr auto | eve::bitofsign = functor<bitofsign_t> |
elementwise_callable object computing the bit of sign. | |
| constexpr auto | eve::exponent = functor<exponent_t> |
elementwise_callable object computing the integral IEEE exponent of the floating value. | |
| constexpr auto | eve::flush_denormal = functor<flush_denormal_t> |
elementwise_callable object computing flushing denormal values to 0. | |
| constexpr auto | eve::frexp = functor<frexp_t> |
elementwise_callable computing the ieee pair of mantissa and exponent of a floating value, | |
| constexpr auto | eve::ifrexp = functor<ifrexp_t> |
| Computes the elementwise ieee pair of mantissa and exponent of the floating value,. | |
| constexpr auto | eve::ilogb = functor<ilogb_t> |
elementwise_callable object computing the integral IEEE ilogb of the floating value. | |
| constexpr auto | eve::ldexp = functor<ldexp_t> |
strict_elementwise callable computing \(\textstyle x 2^n\). | |
| constexpr auto | eve::mantissa = functor<mantissa_t> |
elementwise_callable object computing the IEEE mantissa of the floating value. | |
| constexpr auto | eve::nb_values = functor<nb_values_t> |
elementwise_callable object computing the number of values representable in the type between the arguments. | |
| constexpr auto | eve::next = functor<next_t> |
strict_elementwise_callable computing the nth next representable element | |
| constexpr auto | eve::nextafter = functor<nextafter_t> |
elementwise_callable object computing the next representable element element in the second parameter direction. | |
| constexpr auto | eve::of_class = functor<of_class_t> |
strict_elementwise_callable object computing classification of elements of the input. | |
| constexpr auto | eve::prev = functor<prev_t> |
| Computes the nth previous representable element. | |
| constexpr auto | eve::ulpdist = functor<ulpdist_t> |
| Computes the unit in the last place distance of its arguments. i.e. the number of representable values between these two divided by 2. | |