Appendix B: Global Variables — Algebra Utilities
NG_control
(continued)
Example:
old_NG_control = NG_control;
SET_RADIANS;
.
.
.
if (IS_DOMAIN_REAL)
.
.
.
else
.
.
.
.
.
.
NG_control = old_NG_control;
TI-89 / TI-92 Plus Developer Guide
/* Save old setting. */
/* Do some work in radian mode. */
/* Do appropriate thing for real mode. */
/* Do appropriate thing for complex mode. */
/* Restore old settings. */
Not for Distribution
1207
Beta Version January 26, 2001