plan9 man page for abs

Query: abs

OS: plan9

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ABS(2)								System Calls Manual							    ABS(2)

NAME
abs, labs - integer absolute values
SYNOPSIS
#include <u.h> #include <libc.h> int abs(int a) long labs(long a)
DESCRIPTION
Abs returns the absolute value of integer a, and labs does the same for a long.
SOURCE
/sys/src/libc/port/abs.c
SEE ALSO
floor(2) for fabs
DIAGNOSTICS
Abs and labs return the most negative integer or long when the true result is unrepresentable. ABS(2)
Related Man Pages
labs(3) - redhat
abs(3) - redhat
imaxabs(3) - centos
labs(3) - centos
labs(3) - suse
Similar Topics in the Unix Linux Community
absolute beginner with suse 9.2 and XP Pro
Urgent!! Dumpstabs Utility
Absence Notification
Short Absense - Maybe - Flying to Philippines
Sorry for the absence