Linux and UNIX Man Pages

Test Your Knowledge in Computers #228
Difficulty: Easy
According to NetMarketShare, in September 2019 Linux had a 5% global market share of the desktop / laptop computer market.
True or False?
Linux & Unix Commands - Search Man Pages

imaxabs(3c) [sunos man page]

imaxabs(3C)						   Standard C Library Functions 					       imaxabs(3C)

NAME
imaxabs - return absolute value SYNOPSIS
#include <inttypes.h> intmax_t imaxabs(intmax_t j); DESCRIPTION
The imaxabs() function computes the absolute value of an integer j. If the result cannot be represented, the behavior is undefined. RETURN VALUES
The imaxabs() function returns the absolute value. ERRORS
No errors are defined. USAGE
The absolute value of the most negative number cannot be represented in two's complement. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
imaxdiv(3C), attributes(5), standards(5) SunOS 5.10 1 Nov 2003 imaxabs(3C)

Check Out this Related Man Page

imaxdiv(3C)						   Standard C Library Functions 					       imaxdiv(3C)

NAME
imaxdiv - return quotient and remainder SYNOPSIS
#include <inttypes.h> imaxdiv_t imaxdiv(imaxdiv_t numer, imaxdiv_t denom); DESCRIPTION
The imaxdiv() function computes numer / denom and numer % denom in a single operation. RETURN VALUES
The imaxdiv() function returns a structure of type imaxdiv_t, comprising both the quotient and the remainder. The structure contains (in either order) the members quot (the quotient) and rem (the remainder), each of which has type intmax_t. If either part of the result cannot be represented, the behavior is undefined. ERRORS
No errors are defined. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
imaxabs(3C), attributes(5), standards(5) SunOS 5.11 1 Nov 2003 imaxdiv(3C)

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Absolute value

Is there a function in awk to get the absolute value of a-b which can be negative or positive, I just care for the absolute value... (5 Replies)
Discussion started by: placroix1
5 Replies

2. UNIX for Dummies Questions & Answers

absolute value

is there any function in unix which will convert a integer to absolute value with a single decimal point. suppose x=15232 y=x/1024=14.875 i want y to be 14.8 Similarly if y=6.29452 it should come as 6.3 (3 Replies)
Discussion started by: dr46014
3 Replies

3. Shell Programming and Scripting

Finding absolute values greater than a certain value

Hi I am posting here for the first time. I am trying to write a script that reads a data file and tries to determine if any absolute values that are above 0.5 I was thinking it ought to be possible to do this with awk somehow. Are there any suggestions before I start reinventing the wheel? ... (4 Replies)
Discussion started by: jackygrahamez
4 Replies

Featured Tech Videos