minix/man/man3/fabs.3
Erik van der Kouwe 17b10f1bf3 Add fabsf function
2010-01-08 07:27:11 +00:00

18 lines
387 B
Groff

.TH FABS 3 "January 7, 2009"
.UC 4
.SH NAME
fabs, fabsf \- compute absolute value
.SH SYNOPSIS
.nf
.ft B
#include <math.h>
double fabs(double \fIx\fP);
float fabsf(float \fIx\fP);
.fi
.SH DESCRIPTION
\fBfabs\fP and \fBfabsf\fP return the absolute value of their argument.
.SH "RETURN VALUE
The return value is a number with the same magnitude as the argument and with
a positive sign.