Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

llabs(3c) [hpux man page]

abs(3C) 																   abs(3C)

NAME
abs(), labs(), llabs(), imaxabs() - return integer absolute value SYNOPSIS
DESCRIPTION
computes the absolute value of its integer operand. computes the absolute value of its long integer operand. computes the absolute value of its long long integer operand. computes the absolute value of its intmax_t integer operand. If the result value can not be represented, the behavior of these functions is undefined. RETURN VALUE
returns the absolute value of its integer operand. returns the absolute value of the long integer operand. returns the absolute value of the long long integer operand. returns the absolute value of the intmax_t integer operand. The largest negative integer returns itself. WARNINGS
In two's-complement representation, the absolute value of the negative integer with the largest magnitude can not be represented. SEE ALSO
imaxdiv(3C), floor(3M), thread_safety(5). STANDARDS CONFORMANCE
abs(3C)

Check Out this Related Man Page

abs(3C) 						   Standard C Library Functions 						   abs(3C)

NAME
abs, labs, llabs - return absolute value of integer SYNOPSIS
#include <stdlib.h> int abs(int val); long labs(long lval); long long llabs(long long llval); DESCRIPTION
The abs() function returns the absolute value of its int operand. The labs() function returns the absolute value of its long operand. The llabs() function returns the absolute value of its long long operand. USAGE
In 2's-complement representation, the absolute value of the largest magnitude negative integral value is undefined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), standards(5) SunOS 5.11 24 Jul 2002 abs(3C)
Man Page

2 More Discussions You Might Find Interesting

1. HP-UX

HP-UX: Shell Script giving " 0^J30: Syntax error"

Hi All, We are getting a very unique error while running a shell script on HP-UX box. Can somebody help in this regards? The shell script is working fine on linux/solaris box. Error: ++++++++++++++++++++++++ $/test.sh ./test.sh: 0^J30: Syntax error $ ++++++++++++++++++++++++ TIA.... (16 Replies)
Discussion started by: vai_sh
16 Replies

2. Cybersecurity

The Heartbleed Bug - What versions of the OpenSSL are affected?

Reference: The Heartbleed Bug What versions of the OpenSSL are affected? Status of different versions: OpenSSL 1.0.1 through 1.0.1f (inclusive) are vulnerable OpenSSL 1.0.1g is NOT vulnerable OpenSSL 1.0.0 branch is NOT vulnerable OpenSSL 0.9.8 branch is NOT vulnerable Bug was... (3 Replies)
Discussion started by: Neo
3 Replies