From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/c/numeric%2Fmath%2Ffmin.html | 50 ------------------------------------ 1 file changed, 50 deletions(-) delete mode 100644 devdocs/c/numeric%2Fmath%2Ffmin.html (limited to 'devdocs/c/numeric%2Fmath%2Ffmin.html') diff --git a/devdocs/c/numeric%2Fmath%2Ffmin.html b/devdocs/c/numeric%2Fmath%2Ffmin.html deleted file mode 100644 index bec5d0b4..00000000 --- a/devdocs/c/numeric%2Fmath%2Ffmin.html +++ /dev/null @@ -1,50 +0,0 @@ -

fmin, fminf, fminl

Defined in header <math.h>
float       fminf( float x, float y );
-
(1) (since C99)
double      fmin( double x, double y );
-
(2) (since C99)
long double fminl( long double x, long double y );
-
(3) (since C99)
Defined in header <tgmath.h>
#define fmin( x, y )
-
(4) (since C99)
-1-3) Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen).
-4) Type-generic macro: If any argument has type long double, fminl is called. Otherwise, if any argument has integer type or has type double, fmin is called. Otherwise, fminf is called.

Parameters

- -
x, y - floating point values

Return value

If successful, returns the smaller of two floating point values. The value returned is exact and does not depend on any rounding modes.

-

Error handling

This function is not subject to any of the error conditions specified in math_errhandling.

-

If the implementation supports IEEE floating-point arithmetic (IEC 60559),

-

Notes

This function is not required to be sensitive to the sign of zero, although some implementations additionally enforce that if one argument is +0 and the other is -0, then -0 is returned.

-

Example

#include <stdio.h>
-#include <math.h>
- 
-int main(void)
-{
-    printf("fmin(2,1)    = %f\n", fmin(2,1));
-    printf("fmin(-Inf,0) = %f\n", fmin(-INFINITY,0));
-    printf("fmin(NaN,-1) = %f\n", fmin(NAN,-1));
-}

Possible output:

-
fmin(2,1)    = 1.000000
-fmin(-Inf,0) = -inf
-fmin(NaN,-1) = -1.000000

References

See also

- - -
-
(C99)
checks if the first floating-point argument is less than the second
(function macro)
-
(C99)(C99)(C99)
determines larger of two floating-point values
(function)
C++ documentation for fmin
-

- © cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
- https://en.cppreference.com/w/c/numeric/math/fmin -

-
-- cgit v1.2.3