Details

[Home]

Issue of the Standard # S0135

Brief

Misprint in the description of the llabs() function

Detailed Description

There is a misprint in the section ‘RETURN VALUE’ of the description of the functions labs(), llabs(): should be ‘llabs()’ instead of ‘labs()’ in the sentence “The labs() function shall return the absolute value of the long long integer operand.”

Problem location(s) in the standard

The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition, System Interfaces, the description of the functions labs(), llabs().

Possible solutions

Change the 'RETURN VALUE' from:
“The labs() function shall return the absolute value of the long integer operand. The labs() function shall return the absolute value of the long long integer operand.”
to:
“The labs() function shall return the absolute value of the long integer operand. The llabs() function shall return the absolute value of the long long integer operand.”

Accepted

POSIX aardvark,
Request Number 152

[Home]