EasyManua.ls Logo

Texas Instruments TI-89 - Round12_Err

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...
424
Appendix A: System Routines — Direct Floating Point Operations
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
round12_err
Declaration:
BCD16
round12_err
(BCD16
fNum
, short
errCode
)
Category(ies):
Direct Floating Point Operations
Description:
Verify that a BCD16 value,
fNum
, is in the valid user range for floating point
values. This routine will round to 12 digits and underflow to zero if the
exponent is < -999. If the number is NAN or the exponent is > 999, then it
will throw the error code passed in
errCode
.
Inputs:
fNum
Floating point number to check and round.
errCode
Error to throw if number passed is not a number or its
exponent is greater than 999.
Outputs:
The value of
fNum
rounded to 12 digits of precision.
Assumptions:
None
Side Effects:
May throw the error code passed in
errCode
.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also: round12, round14,
ER_throw
(continued)

Table of Contents

Other manuals for Texas Instruments TI-89

Related product manuals