Query: nexttowardd128
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
nextafterd64(3M) nextafterd64(3M)NAMEnextafterd64(), nextafterd128(), nextafterd32(), nexttowardd64(), nexttowardd128(), nexttowardd32() - next representable decimal floating- point numbersSYNOPSISDESCRIPTIONThe function computes the next representable number following x in the direction toward y. Thus, if y is less than x, returns the largest representable number less than x. The function returns y if x equals y. The function is equivalent to except that the second parameter has the widest decimal floating-point type, and the function returns y con- verted to the type of the function if x equals y. The result of the function is determined in the type of the function, without loss of range or precision in a floating second argument, whose type may be wider than the type of the function. is a version of it takes arguments and returns a result. is a version of it takes arguments and returns a result. is a version of it takes a first argument and returns a result. is a version of it takes a first argument and returns a result. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward.USAGETo 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 VALUEIf x equals y, returns y, and returns y converted to the type of x. If x is finite and the correct function value would overflow, these functions return according to the sign of x, and raise the overflow and inexact floating-point exceptions. If the return value is subnormal and x!=y, these functions raise the underflow and inexact floating-point exceptions. If x or y is NaN, these functions return NaN.ERRORSIf x is finite and the correct function value would overflow, these functions set toSEE ALSOscalbnd64(3M), math(5).STANDARDS CONFORMANCEThese functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only nextafterd64(3M)