188b87e33SSimon Schubert.\" Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org> 288b87e33SSimon Schubert.\" All rights reserved. 388b87e33SSimon Schubert.\" 488b87e33SSimon Schubert.\" Redistribution and use in source and binary forms, with or without 588b87e33SSimon Schubert.\" modification, are permitted provided that the following conditions 688b87e33SSimon Schubert.\" are met: 788b87e33SSimon Schubert.\" 1. Redistributions of source code must retain the above copyright 888b87e33SSimon Schubert.\" notice, this list of conditions and the following disclaimer. 988b87e33SSimon Schubert.\" 2. Redistributions in binary form must reproduce the above copyright 1088b87e33SSimon Schubert.\" notice, this list of conditions and the following disclaimer in the 1188b87e33SSimon Schubert.\" documentation and/or other materials provided with the distribution. 1288b87e33SSimon Schubert.\" 1388b87e33SSimon Schubert.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1488b87e33SSimon Schubert.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1588b87e33SSimon Schubert.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1688b87e33SSimon Schubert.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1788b87e33SSimon Schubert.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1888b87e33SSimon Schubert.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1988b87e33SSimon Schubert.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2088b87e33SSimon Schubert.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2188b87e33SSimon Schubert.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2288b87e33SSimon Schubert.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2388b87e33SSimon Schubert.\" SUCH DAMAGE. 2488b87e33SSimon Schubert.\" 2588b87e33SSimon Schubert.\" $FreeBSD: src/lib/libc/stdlib/llabs.3,v 1.2 2001/11/21 16:19:50 ru Exp $ 2688b87e33SSimon Schubert.\" 27*96d766c0SSascha Wildner.Dd March 28, 2020 2888b87e33SSimon Schubert.Dt LLABS 3 2988b87e33SSimon Schubert.Os 3088b87e33SSimon Schubert.Sh NAME 3188b87e33SSimon Schubert.Nm llabs 3288b87e33SSimon Schubert.Nd return the absolute value of a long long integer 3388b87e33SSimon Schubert.Sh LIBRARY 3488b87e33SSimon Schubert.Lb libc 3588b87e33SSimon Schubert.Sh SYNOPSIS 3688b87e33SSimon Schubert.In stdlib.h 3788b87e33SSimon Schubert.Ft "long long" 3888b87e33SSimon Schubert.Fn llabs "long long j" 3988b87e33SSimon Schubert.Sh DESCRIPTION 4088b87e33SSimon SchubertThe 4188b87e33SSimon Schubert.Fn llabs 4288b87e33SSimon Schubertfunction returns the absolute value of the long long integer 4388b87e33SSimon Schubert.Fa j . 4488b87e33SSimon Schubert.Sh SEE ALSO 4588b87e33SSimon Schubert.Xr abs 3 , 4688b87e33SSimon Schubert.Xr fabs 3 , 4788b87e33SSimon Schubert.Xr hypot 3 , 4888b87e33SSimon Schubert.Xr imaxabs 3 , 49*96d766c0SSascha Wildner.Xr labs 3 5088b87e33SSimon Schubert.Sh STANDARDS 5188b87e33SSimon SchubertThe 5288b87e33SSimon Schubert.Fn llabs 5388b87e33SSimon Schubertfunction conforms to 5488b87e33SSimon Schubert.St -isoC-99 . 5588b87e33SSimon Schubert.Sh HISTORY 5688b87e33SSimon SchubertThe 5788b87e33SSimon Schubert.Fn llabs 5888b87e33SSimon Schubertfunction first appeared in 5988b87e33SSimon Schubert.Dx 1.11 . 6088b87e33SSimon Schubert.Sh BUGS 6188b87e33SSimon SchubertThe absolute value of the most negative integer remains negative. 62