Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

samequantumd64(3m) [hpux man page]

samequantumd64(3M)														samequantumd64(3M)

NAME
samequantumd64(), samequantumd128(), samequantumd32() - decimal samequantum functions SYNOPSIS
DESCRIPTION
The function determines if the quantum exponents of x and y are the same. is a version of it takes arguments. is a version of it takes arguments. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
returns 1 or 0 according as the quantum exponents of x and y are the same or different. If both arguments are NaN, or both are returns 1. If exactly one argument is NaN, or exactly one is returns 0. raises no floating-point exceptions. ERRORS
No errors are defined. SEE ALSO
quantexpd64(3M), quantized64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only samequantumd64(3M)

Check Out this Related Man Page

quantized64(3M) 														   quantized64(3M)

NAME
quantized64(), quantized128(), quantized32() - decimal quantize functions SYNOPSIS
DESCRIPTION
The function sets the exponent of x to the exponent of y, while attempting to keep the value the same. If the exponent is being increased, the value is correctly rounded according to the current (decimal) rounding mode. is useful for rounding to a specified number of decimal places. For example, will round x to four places to the right of the decimal point (provided the has enough digits to do so). is a version of it takes arguments and returns a result. is a version of it takes arguments and returns a result. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
If the exponent of x is being increased and rounding produces a result whose numerical value is different from x, then raises the inexact exception. If the exponent of x is being decreased and the of the result has more digits than the type would allow, returns NaN and raises the invalid exception. If one or both arguments are NaN, then returns NaN. Otherwise, if only one argument returns NaN and raises the invalid exception. If both arguments returns x. ERRORS
No errors are defined. SEE ALSO
quantexpd64(3M), samequantumd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only quantized64(3M)
Man Page