fmad128 man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=fmad128&af=0&tf=2&of=HP-UX

fmad64(3M)							    fmad64(3M)

NAME
       fmad64(), fmad128(), fmad32() - decimal floating multiply-add functions

SYNOPSIS
DESCRIPTION
       The  function  returns (x*y) + z, rounded as one ternary operation:  it
       computes the value (as if) to infinite precision and rounds once to the
       result format, according to the current (decimal) rounding mode.

       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 x, y, or z is NaN, returns NaN.

       If one of x and y is infinite, the other is zero, and  z	 is  not  NaN,
       returns NaN and raises the invalid exception.

       If  x  times  y is an exact infinity and z is also an infinity but with
       the opposite sign, returns NaN and raises the invalid exception.

       returns the properly signed infinity (or, in some non-default  rounding
       direction  modes,  the properly signed maximum-magnitude finite number)
       in lieu of a value whose magnitude is too large, and raises  the	 over‐
       flow and inexact exceptions.

       raises  the  underflow exception whenever a result is tiny (essentially
       subnormal or zero) and inexact.

       raises the inexact exception whenever a rounded result does  not	 equal
       the mathematical result.

ERRORS
       If  one	of  x  and y is infinite, the other is zero, and z is not NaN,
       sets to

       If x times y is an exact infinity and z is also an  infinity  but  with
       the opposite sign, sets to

       If the correct value would overflow, sets to

SEE ALSO
       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		    fmad64(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