Sponsored Content
Full Discussion: C,c+,c++,c#
Top Forums UNIX for Dummies Questions & Answers C,c+,c++,c# Post 15716 by killerserv on Monday 18th of February 2002 11:00:35 PM
Old 02-19-2002
aloysious,
You may try this link for the question you asked.

http://citeseer.nj.nec.com/context/71542/82606
 
fdim(3M)																  fdim(3M)

NAME
fdim(), fdimf(), fdiml(), fdimw(), fdimq() - positive difference functions SYNOPSIS
HP Integrity Server Only DESCRIPTION
The function determines the positive difference between its arguments. Integrity Server Only is a version of it takes arguments and returns a result. is a version of it takes arguments and returns a result. is an version of it takes arguments and returns an result. is equivalent to on HP-UX systems. USAGE
To use this function, compile either with the default option or with the and options. To use (for Integrity servers) or compile with the option. Make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
The function returns the positive difference between x and y. If x y, returns x y (and raises any exceptions resulting from the subtraction). If x y, returns +zero. If x or y is NaN, returns NaN. If both arguments are NaNs, returns NaN. returns a positively signed infinity in lieu of a value whose magnitude is too large, and raises the overflow and inexact exceptions. ERRORS
No errors are defined. SEE ALSO
fdim(3M), fmin(3M), math(5). STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') fdim(3M)
All times are GMT -4. The time now is 07:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy