83Plus:BCALLs:40B4
From WikiTI
Synopsis
Official Name: eToX
BCALL Address: 40B4
Computes the e^OP1, where e is the natural exponent, and returns the result in OP1.
Inputs
- OP1 = floating point
Outputs
- OP1 = e^OP1
- Approx. TStates: 100,000
Destroys
- AF, BC, DE, HL
- OP1-OP4
Comments
The cycle count for this routine is very high.
Example
B_CALL OP1Set3 ;OP1=floating point 3 B_CALL eToX ;returns with OP1=20.08553692...