Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ abs(3C) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

floor(3M)






       abs(3C)                                                      abs(3C)


       NAME
             abs, labs - return integer absolute value

       SYNOPSIS
             #include <stdlib.h>
             int abs(int val);
             long labs(long lval);

       DESCRIPTION
             abs returns the absolute value of its int operand.  labs
             returns the absolute value of its long operand.

       REFERENCES
             floor(3M)

       NOTICES
             In 2's-complement representation, the absolute value of the
             largest magnitude negative integral value is undefined.






























                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026