Section (3) fdim
fdim, fdimf, fdiml — positive difference
||long double x,|
|long double y
On success, these functions return the positive difference.
y is a NaN, a NaN is
If the result overflows, a range error occurs, and the
See math_error(7) for information on how to determine whether an error has occurred when calling these functions.
The following errors can occur:
- Range error: result overflow
An overflow floating-point exception (
FE_OVERFLOW) is raised.
These functions do not set
For an explanation of the terms used in this section, see attributes(7).
This page is part of release 4.16 of the Linux
man-pages project. A
description of the project, information about reporting bugs,
and the latest version of this page, can be found at
Copyright 2003 Walter Harms, Andries Brouwer
and Copyright 2008, Linux Foundation, written by Michael Kerrisk
Distributed under GPL