Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

Plan 9 - man page for abs (plan9 section 2)

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 unrepre-
       sentable.

											   ABS(2)


All times are GMT -4. The time now is 04:42 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password