Everything

fdim [V1.09 or later]


This function determines the positive difference between two arguments.

[Classification]

Mathematical library

[Syntax]

#include <math.h>

double __far fdim(double x, double y); (C99)

[Return value]

Returns 'x - y' for 'x > y' and +0 for 'x <= y'. Returns a NaN when x or y is a NaN.

[Description]

This function determines the positive difference between two arguments.