1*48922Scael.\" Copyright (c) 1991 The Regents of the University of California. 2*48922Scael.\" All rights reserved. 3*48922Scael.\" 4*48922Scael.\" @(#)fabs.3 5.1 (Berkeley) 05/02/91 5*48922Scael.\" %sccs.include.redist.man% 6*48922Scael.\" 7*48922Scael.\" @(#)fabs.3 5.1 (Berkeley) 05/02/91 8*48922Scael.\" 9*48922Scael.Dd 10*48922Scael.Dt FABS 3 11*48922Scael.Os 12*48922Scael.Sh NAME 13*48922Scael.Nm fabs 14*48922Scael.Nd floating-point absolute value function 15*48922Scael.Sh SYNOPSIS 16*48922Scael.Fd #include <math.h> 17*48922Scael.Ft double 18*48922Scael.Fn fabs "double x" 19*48922Scael.Sh DESCRIPTION 20*48922ScaelThe 21*48922Scael.Fn fabs 22*48922Scaelfunction computes the absolute value of a floating-point number 23*48922Scael.Fa x . 24*48922Scael.Sh RETURN VALUES 25*48922ScaelThe 26*48922Scael.Fn fabs 27*48922Scaelfunction returns the absolute value of 28*48922Scael.Fa x . 29*48922Scael.Sh SEE ALSO 30*48922Scael.Xr abs 3 , 31*48922Scael.Xr ceil 3 , 32*48922Scael.Xr floor 3 , 33*48922Scael.Xr rint 3 , 34*48922Scael.Xr ieee 3 , 35*48922Scael.Xr math.3 36*48922Scael.Sh STANDARDS 37*48922ScaelThe 38*48922Scael.Fn fabs 39*48922Scaelfunction conforms to 40*48922Scael.St -ansiC . 41