labs.3 (83206) | labs.3 (86368) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)labs.3 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)labs.3 8.1 (Berkeley) 6/4/93 |
37.\" $FreeBSD: head/lib/libc/stdlib/labs.3 83206 2001-09-07 14:46:36Z asmodai $ | 37.\" $FreeBSD: head/lib/libc/stdlib/labs.3 86368 2001-11-15 02:05:03Z mike $ |
38.\" | 38.\" |
39.Dd June 4, 1993 | 39.Dd November 14, 2001 |
40.Dt LABS 3 41.Os 42.Sh NAME 43.Nm labs 44.Nd return the absolute value of a long integer 45.Sh LIBRARY 46.Lb libc 47.Sh SYNOPSIS --- 5 unchanged lines hidden (view full) --- 53.Fn labs 54function 55returns the absolute value of the long integer 56.Ar j . 57.Sh SEE ALSO 58.Xr abs 3 , 59.Xr cabs 3 , 60.Xr floor 3 , | 40.Dt LABS 3 41.Os 42.Sh NAME 43.Nm labs 44.Nd return the absolute value of a long integer 45.Sh LIBRARY 46.Lb libc 47.Sh SYNOPSIS --- 5 unchanged lines hidden (view full) --- 53.Fn labs 54function 55returns the absolute value of the long integer 56.Ar j . 57.Sh SEE ALSO 58.Xr abs 3 , 59.Xr cabs 3 , 60.Xr floor 3 , |
61.Xr imaxabs 3 , 62.Xr llabs 3 , |
|
61.Xr math 3 62.Sh STANDARDS 63The 64.Fn labs 65function 66conforms to 67.St -isoC . 68.Sh BUGS 69The absolute value of the most negative integer remains negative. | 63.Xr math 3 64.Sh STANDARDS 65The 66.Fn labs 67function 68conforms to 69.St -isoC . 70.Sh BUGS 71The absolute value of the most negative integer remains negative. |