[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


labs

Compute long integer absolute value.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <stdlib.h>
long int labs(long int j);
Parameters:

Parameters for this facility are:

j  
long int  
The variable to be computed  

Return:

labs() returns the absolute value of its argument as a value of type long int.

See Also:

"fabs"

"abs"

For example of labs() usage:
Refer to "Example of abs() usage.".


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000