1.\" Copyright (c) 1990, 1991 The Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" %sccs.include.redist.man% 5.\" 6.\" @(#)abs.3 6.3 (Berkeley) 04/19/91 7.\" 8.Dd 9.Dt ABS 3 10.Os 11.Sh NAME 12.Nm abs 13.Nd integer absolute value function 14.Sh SYNOPSIS 15.Fd #include <stdlib.h> 16.Ft int 17.Fn abs "int j" 18.Sh DESCRIPTION 19The 20.Fn abs 21function 22computes 23the absolute value of the integer 24.Ar j . 25.Sh RETURN VALUES 26The 27.Fn abs 28function 29returns 30the absolute value. 31.Sh SEE ALSO 32.Xr floor 3 , 33.Xr labs 3 34.Xr cabs 3 35.Xr hypot 3 36.Xr math 3 37.Sh STANDARDS 38The 39.Fn abs 40function conforms to 41.St -ansiC . 42.Sh BUGS 43The absolute value of the most negative integer remains negative. 44