1*61287Sbostic.\" Copyright (c) 1991, 1993 2*61287Sbostic.\" The Regents of the University of California. All rights reserved. 348922Scael.\" 4*61287Sbostic.\" @(#)fabs.3 8.1 (Berkeley) 06/04/93 548922Scael.\" %sccs.include.redist.man% 648922Scael.\" 7*61287Sbostic.\" @(#)fabs.3 8.1 (Berkeley) 06/04/93 848922Scael.\" 948922Scael.Dd 1048922Scael.Dt FABS 3 1148922Scael.Os 1248922Scael.Sh NAME 1348922Scael.Nm fabs 1448922Scael.Nd floating-point absolute value function 1548922Scael.Sh SYNOPSIS 1648922Scael.Fd #include <math.h> 1748922Scael.Ft double 1848922Scael.Fn fabs "double x" 1948922Scael.Sh DESCRIPTION 2048922ScaelThe 2148922Scael.Fn fabs 2248922Scaelfunction computes the absolute value of a floating-point number 2348922Scael.Fa x . 2448922Scael.Sh RETURN VALUES 2548922ScaelThe 2648922Scael.Fn fabs 2748922Scaelfunction returns the absolute value of 2848922Scael.Fa x . 2948922Scael.Sh SEE ALSO 3048922Scael.Xr abs 3 , 3148922Scael.Xr ceil 3 , 3248922Scael.Xr floor 3 , 3348922Scael.Xr rint 3 , 3448922Scael.Xr ieee 3 , 3548922Scael.Xr math.3 3648922Scael.Sh STANDARDS 3748922ScaelThe 3848922Scael.Fn fabs 3948922Scaelfunction conforms to 4048922Scael.St -ansiC . 41