# fmax(3) [netbsd man page]

```FMAX(3) 						   BSD Library Functions Manual 						   FMAX(3)

NAME
fmax, fmaxf, fmaxl, fmin, fminf, fminl -- floating-point maximum and minimum functions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
fmax(double x, double y);

float
fmaxf(float x, float y);

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

double
fmin(double x, double y);

float
fminf(float x, float y);

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

DESCRIPTION
The fmax(), fmaxf(), and fmaxl() functions return the larger of x and y, and likewise, the fmin(), fminf(), and fminl() functions return the
smaller of x and y.  They treat +0.0 as being larger than -0.0.  If one argument is an NaN, then the other argument is returned.  If both
arguments are NaNs, then the result is an NaN.  These routines do not raise any floating-point exceptions.

fabs(3), fdim(3), math(3)

STANDARDS
The fmax(), fmaxf(), fmaxl(), fmin(), fminf(), and fminl() functions conform to ISO/IEC 9899:1999 (``ISO C99'').

HISTORY
These routines first appeared in FreeBSD 5.3 and NetBSD 5.1.

BSD								   June 29, 2004							       BSD```

## Check Out this Related Man Page

```FMAX(3) 						   BSD Library Functions Manual 						   FMAX(3)

NAME
fmax, fmaxf, fmaxl, fmin, fminf, fminl -- floating-point maximum and minimum functions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
fmax(double x, double y);

float
fmaxf(float x, float y);

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

double
fmin(double x, double y);

float
fminf(float x, float y);

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

DESCRIPTION
The fmax(), fmaxf(), and fmaxl() functions return the larger of x and y, and likewise, the fmin(), fminf(), and fminl() functions return the
smaller of x and y.  They treat +0.0 as being larger than -0.0.  If one argument is an NaN, then the other argument is returned.  If both
arguments are NaNs, then the result is an NaN.  These routines do not raise any floating-point exceptions.

fabs(3), fdim(3), math(3)

STANDARDS
The fmax(), fmaxf(), fmaxl(), fmin(), fminf(), and fminl() functions conform to ISO/IEC 9899:1999 (``ISO C99'').

HISTORY
These routines first appeared in FreeBSD 5.3 and NetBSD 5.1.

BSD								   June 29, 2004							       BSD```
Man Page

## Too many hops error in sendmail

I am running SCO openserver 6 with sendmail as my mta I have a customer that sends me mail and occasionally some of them get bounced by my machine with a too many hops error. the header shows that it hops around their servers several times before getting to me and I know this is something that they...

## [Solved] File System Monitoring Script

Hello Scripts Guru I had created a shell script to monitor the threshold of the file system, but some where it is not giving the correct output. Request to all to hel me out I am getting the following output /dev/vg00/lvol3 mounted on 1865224 10% / is 2097152% /dev/vg00/lvol1 mounted on...

## Passing variable from shell script to python script

I have a shell script main.sh which inturn call the python script ofdm.py, I want to pass two variables from shell script to python script for its execution. How do i achieve this ????? Eg: main.sh a=3 b=3; c= a+b exec python ofdm.py ofdm.py d=c+a Thanks in Anticipation

## sco unix backward compatibility on "max open file per process"

Hi How to increase maximum number of open file in "sco xenix binary" running in "sco unix openserver 5.0.7" ? I have changed "NOFILES" kernel parameter to 512, but xenix binray can't open more than 60. tnx

## Help me fixing event handling in csh on AIX

Hi All, I have problem with a csh script. This script simply search for a certail process id and kill that using simple kill -5 <pid>. Everything is okay untill there is valid process id trapped. But if the process id is already cleaned before the execution of the kill command, but script ends...

## Sendmail - Masquerading multiple domains with different addresses

Hello Friends, I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to...

## solaris 10u9 + sendmail 8.14.5 mailq grows, deferred messages

hello, I am using solaris 10 and sendmail 8.14.5 Main Problem i have growing (to 1500+ mails) mailq, and mailq consists of mails older then even 1 month. i have forced mailq by sendmail -q -v and messages went out. but it looks like, when messages enter to mailq they are not processed any...

## TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method. The thing works, but in a very strange manner. Here's how it looks: 1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds) Reading kernel & process data... Atomic restore....

## Script returning 0

hello i write a script which calculate free space but he always is 0 thats wrong with my script? getFileSystemPerformanceData() { if ; then if grep -q "Ubuntu" /etc/issue ; then CMD="df -lP | grep -v "\/home" | grep -v "\/dev/mapper/VolGroup-lv_root"" elif grep...

## Perl:: mass replacement of converting C code formats to tgmath.h

hello, i have a lot of C old code I'm updating to C11 with tgmath.h for generic math. the old code has very specific types, real and complex, like cabsl, csinhl, etc usually for simple bulk replacements i would do something simple like this perl -pi -e 's/cosl/cos/g' *.c the reference...

## Sendmail not delivering to own domain

I can send off network but can not send to anyone on network. SitRep is this the legacy mail system at work is setup as 2 servers, one is the outbound server and /etc/aliases has a list of users to deliver the mail to another server. for this instance we will call the 192.168.1.9(outgoing)...

## Some mails not scanned by SpamAssassin 3.4.1 w sendmail/procmail on Fedora 21

We have a user who has about a 50% missed rate on spam detection. I'm wondering if his user prefs or something is preventing scanning of all messages? SpamAssassin version 3.4.1, running on Perl version 5.20.3, sendmail Version 8.15.2 The contents of the user_prefs file: # How many points...