NAME
fabs, fabsf, fabsl - absolute value of floating-point number
SYNOPSIS
#include <math.h> double fabs(double x); float fabsf(float x); long double fabsl(long double x); Link with -lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fabsf(), fabsl(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
DESCRIPTION
These functions return the absolute value of the floating-point number x.
RETURN VALUE
These functions return the absolute value of x. If x is a NaN, a NaN is returned. If x is -0, +0 is returned. If x is negative infinity or positive infinity, positive infinity is returned.
ERRORS
No errors occur.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). ┌─────────────────────────┬───────────────┬─────────┐ │Interface │ Attribute │ Value │ ├─────────────────────────┼───────────────┼─────────┤ │fabs(), fabsf(), fabsl() │ Thread safety │ MT-Safe │ └─────────────────────────┴───────────────┴─────────┘
CONFORMING TO
C99, POSIX.1-2001, POSIX.1-2008. The variant returning double also conforms to SVr4, 4.3BSD, C89.
SEE ALSO
abs(3), cabs(3), ceil(3), floor(3), labs(3), rint(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2016-03-15 FABS(3)
More Linux Commands
manpages/new_fieldtype.3form.html
new_fieldtype(3form) - define validation-field types........
The function new_fieldtype creates a new field type usable for data validation. You supply it with field_check, a predicate to check the validity of an entered
manpages/tdx-util.8.html
tdx-util(8) - Tradindexed overview manipulation utility.....
tdx-util is an administrative interface to the tradindexed overview method for INN . It only works on tradindexed overview databases, not on any other type of I
manpages/XkbAllocGeomRows.3.html
XkbAllocGeomRows(3) - Allocate rows in a section (Man Page)
XkbAllocGeomRows.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify keybo
manpages/pg3.8.html
pg3(8) - send stream of UDP packets - Linux manual page.....
ipg is not a program, it is script which should be sourced to bash. When sourced it loads module pg3 and exports a few of functions accessible from parent shell
manpages/vfs_readahead.8.html
vfs_readahead(8) - pre-load the kernel buffer cache.........
This VFS module is part of the samba(7) suite. This vfs_readahead VFS module detects read requests at multiples of a given offset (hex 0x80000 by default) and t
manpages/Tk_InternAtom.3.html
Tk_InternAtom(3) - manage cache of X atoms - Linux man page
These procedures are similar to the Xlib procedures XInternAtom and XGetAtomName. Tk_InternAtom returns the atom identifier associated with string given by name
manpages/unpost_form.3form.html
unpost_form(3form) - write or erase forms from associated su
The function post_form displays a form to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivalent curses routine
manpages/gnu_get_libc_version.3.html
gnu_get_libc_version(3) - get glibc version and release.....
The function gnu_get_libc_version() returns a string that identifies the glibc version available on the system. The function gnu_get_libc_release() returns a st
manpages/glCopyTexSubImage1D.3gl.html
glCopyTexSubImage1D(3gl) - copy a one-dimensional texture su
glCopyTexSubImage1D replaces a portion of a one-dimensional texture image with pixels from the current GL_READ_BUFFER (rather than from main memory, as is the c
manpages/Tk_NameOfFont.3.html
Tk_NameOfFont(3) - maintain database of fonts (Man Page)....
Tk_AllocFontFromObj finds the font indicated by objPtr and returns a token that represents the font. The return value can be used in subsequent calls to procedu
manpages/lassign.n.html
lassign(n) - Assign list elements to variables (Man Page)...
This command treats the value list as a list and assigns successive elements from that list to the variables given by the varName arguments in order. If there a
manpages/Tcl_UnstackChannel.3.html
Tcl_UnstackChannel(3) - manipulate stacked I/O channels.....
These functions are for use by extensions that add processing layers to Tcl I/O channels. Examples include compression and encryption modules. These functions t
