quantized64 man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

quantized64(3M)						       quantized64(3M)

NAME
       quantized64(),  quantized128(),	quantized32() - decimal quantize func‐
       tions

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 pro‐
       gramming language C to support decimal floating-point arithmetic".

			   HP Integrity Server Only	       quantized64(3M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net