Labs - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

1106

labs

Declaration:
long labs (long val )
Category(ies):
Utilities
Description:
Returns the absolute value of a long integer.
Inputs:
val — Input value.
Outputs:
Absolute value of input.
Assumptions:
None
Side Effects:
None
Availability:
In the jump table on AMS 2.04 and higher.
Always available in the AMS library.
TI-89 / TI-92 Plus
Differences:
None
See Also:
abs
Example:
The following code fragment will run on any version of AMS since it forces
the labs routine from the AMS library to be linked in.
include "tiams.h"
#undef labs
long labs( long );
.
.
.
long lVal;
.
.
.
return( labs( lVal ) );
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Utilities
Not for Distribution
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents