EasyManua.ls Logo

Texas Instruments TI-89 - Labs

Texas Instruments TI-89
1398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1106
Appendix A: System Routines — Utilities
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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 ) );

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals