# fminf(3m) [sunos man page]

```fmin(3M)						  Mathematical Library Functions						  fmin(3M)

NAME
fmin, fminf, fminl - determine minimum numeric value of two floating-point numbers

SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <math.h>

double fmin(double x, double y);

float fminf(float float x, float y);

long double fminl(long double x, long double y);

DESCRIPTION
These functions determine the minimum numeric value of their arguments. NaN arguments are treated as missing data: if one argument is a NaN
and the other numeric, these functions choose the numeric value.

RETURN VALUES
Upon successful completion, these functions return the minimum numeric value of their arguments.

If just one argument is a NaN, the other argument is returned.

If x and y are NaN, a NaN is returned.

ERRORS
No errors are defined.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Standard			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SunOS 5.10							    1 Sep 2002								  fmin(3M)```

## Check Out this Related Man Page

```fmin(3M)						  Mathematical Library Functions						  fmin(3M)

NAME
fmin, fminf, fminl - determine minimum numeric value of two floating-point numbers

SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <math.h>

double fmin(double x, double y);

float fminf(float float x, float y);

long double fminl(long double x, long double y);

DESCRIPTION
These functions determine the minimum numeric value of their arguments. NaN arguments are treated as missing data: if one argument is a NaN
and the other numeric, these functions choose the numeric value.

RETURN VALUES
Upon successful completion, these functions return the minimum numeric value of their arguments.

If just one argument is a NaN, the other argument is returned.

If x and y are NaN, a NaN is returned.

ERRORS
No errors are defined.

ATTRIBUTES
See attributes(5) for descriptions of the following attributes:

+-----------------------------+-----------------------------+
|      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
+-----------------------------+-----------------------------+
|Interface Stability	     |Standard			   |
+-----------------------------+-----------------------------+
|MT-Level		     |MT-Safe			   |
+-----------------------------+-----------------------------+

SunOS 5.10							    1 Sep 2002								  fmin(3M)```
Man Page

## Perl code to differentiate numeric and non-numeric input

Hi All, Is there any code in Perl which can differentiate between numeric and non-numeric input?

## Check for numeric inputs

Hi All, How do i modify the below script such that if the input is numeric, it will give the numeric digit, else it will ouput "0" echo "xxx" | awk '/^+\$/'

## if \$varib contains non-numeric charctr then...

I've asked a similiar question to this, but this time it is different, a little more restrictive....I have a variable, \$varib, that should always only contain numeric characters. I need a way to echo something if the variable contains a letter, space, or some other punctuation character, ,.!>?"...

## check the given string is numeric or not.

Hi, how to check the given string is numeric or not , without converting ( using strtol...). for ex: if string is C01 - non-numeric data if string is 001 - numeric data TIA

## Listing numeric strings alone

i have a file called 'test.txt' which contains the below data. abc123 123445 123abc 23224q From the above data, i want to display the line which contains only numeric . So i have tried the below commands with sed sed -n '/^\$/p' test.txt sed '/^\$/!d' test.txt But it...

## Scripting help

Hi, I'm using ksh, I have a file called testfile.txt with all characters, I would like to check the file, if all are capital letter then it will return 1, if it not all capital letter then return 2. I know i can use tr to do it, but just can't think of better way to write the script. Appreciate...