Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

FreeBSD 11.0 - man page for fabs (freebsd section 3)

FABS(3) 						   BSD Library Functions Manual 						   FABS(3)

NAME
fabs, fabsf, fabsl -- floating-point absolute value functions
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h> double fabs(double x); float fabsf(float x); long double fabsl(long double x);
DESCRIPTION
The fabs(), fabsf() and fabsl() functions compute the absolute value of a floating-point number x.
RETURN VALUES
The fabs(), fabsf() and fabsl() functions return the absolute value of x.
SEE ALSO
abs(3), ceil(3), floor(3), ieee(3), math(3), rint(3)
STANDARDS
The fabs() function conforms to ISO/IEC 9899:1990 (``ISO C90''). The fabsf() and fabsl() functions conform to ISO/IEC 9899:1999 (``ISO C99'').
BSD
October 25, 2003 BSD
Ubuntu

Ubuntu is a free, open-source Linux distribution based on Debian Linux; and Ubuntu is named after the African philosophy of ubuntu, which Canonical translates as "humanity to others" or "I am what I am because of who we all are". Ubuntu is developed by Canonical and the community under a "meritocratic" governance model. Canonical provides security updates and support for each Ubuntu release, starting from the release date and until the release reaches its designated end-of-life (EOL) date. Canonical generates revenue through the sale of premium services associated with Ubuntu. Ubuntu is generally released to the public in three editions: Desktop, Server, and Core (for IoT devices and robots). Ubuntu is a popular operating system for cloud computing and supports OpenStack. Ubuntu is released every six months with long-term support (LTS) releases every two years.
Please enjoy and help our forum community by "showing your work" and posting your code, even when your code is not working as expected. To help others help you, please wrap your code blocks, sample input, sample output, error messages, and other data in CODE tags and wrap your short commands and short data objects in ICODE tags. We were all beginners in the beginning. If you have any questions about how to register or how to post, please contact us in Live Chat. Thank you and enjoy this "forever free" technical support community for UNIX, Linux and computer information technology in general.