424
Appendix A: System Routines — Direct Floating Point Operations
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
errCode — Error to throw if number passed is not a number or its
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
None
Differences:
See Also:
round12, round14, ER_throw
TI-89 / TI-92 Plus Developer Guide
— Floating point number to check and round.
exponent is greater than 999.
(continued)
Not for Distribution
Beta Version January 26, 2001