EasyManuals Logo

Texas Instruments TI-89 Developer's Guide

Texas Instruments TI-89
1398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #450 background imageLoading...
Page #450 background image
408
Appendix A: System Routines — Direct Floating Point Operations
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
frexp10
Declaration:
double
frexp10
(double
x
, int *
exp_ptr
)
Category(ies):
Direct Floating Point Operations
Description:
For
x
= f
10^n with 0.1 <= |f| < 1.0, returns f after storing n into *
exp_ptr
.
Otherwise if
x
is any kind of floating-point zero, returns
x
and stores 0 into
*
exp_ptr
.
Inputs:
x
Double.
exp_ptr
Pointer to an integer.
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
On AMS 1.05 and higher.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also:
Analogous to frexp (double
x
, int *
exp_ptr
) in the ANSI C math library,
except using base ten rather than base two.
Example:
double quick_log_10_abs (double x)
/* Returns a quickly-computed rough approximation to the base-ten
logarithm of abs(x) for nonzero x.
*/
{ int exponent;
x = frexp10 (fabs(x), &exponent);
return (exponent – 1) + x;
}

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals