Intel® C++ Compiler 16.0 User and Reference Guide
Many routines in the libbfp754 Library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.
The Intel® IEEE 754-2008 Binary Conformance Library supports the following functions for homogeneous general-computational operations:
Description: The function rounds floating-point number x to its nearest integral value, with the halfway (tied) case rounding to even.
Calling interface:
float __binary32_round_integral_nearest_even(float x);
double __binary64_round_integral_nearest_even(double x);
Description: The function rounds floating-point number x to its nearest integral value, with the halfway (tied) case rounding away from zero.
Calling interface:
float __binary32_round_integral_nearest_away(float x);
double __binary64_round_integral_nearest_away(double x);
Description: The function rounds floating-point number x to the closest integral value toward zero.
Calling interface:
float __binary32_round_integral_zero(float x);
double __binary64_round_integral_zero(double x);
Description: The function rounds floating-point number x to the closest integral value toward positive infinity.
Calling interface:
float __binary32_round_integral_positive(float x);
double __binary64_round_integral_positive(double x);
Description: The function rounds floating-point number x to the closest integral value toward negative infinity.
Calling interface:
float __binary32_round_integral_negative(float x);
double __binary64_round_integral_negative(double x);
Description: The function rounds floating-point number x to the closest integral value according to the rounding-direction applicable.
Calling interface:
float __binary32_round_integral_exact(float x);
double __binary64_round_integral_exact(double x);
Description:The function returns the least floating-point number in the same format as x that is greater than x.
Calling interface:
float __binary32_next_up(float x);
double __binary64_next_up(double x);
Description: The function returns the largest floating-point number in the same format as x that is less than x.
Calling interface:
float __binary32_next_down(float x);
double __binary64_next_down(double x);
Description: The function returns the remainder of x and y.
Calling interface:
float __binary32_rem(float x, float y);
double __binary64_rem(double x, double y);
Description: The function returns the minimal value of x and y.
Calling interface:
float __binary32_minnum(float x, float y);
double __binary64_minnum(double x, double y);
Description: The function returns the maximal value of x and y.
Calling interface:
float __binary32_maxnum(float x, float y);
double __binary64_maxnum(double x, double y);
Description: The function returns the minimal absolute value of x and y.
Calling interface:
float __binary32_minnum_mag(float x, float y);
double __binary64_minnum_mag(double x, double y);
Description: The function returns the maximal absolute value of x and y.
Calling interface:
float __binary32_maxnum_mag(float x, float y);
double __binary64_maxnum_mag(double x, double y);