83Plus:BCALLs:409F
From WikiTI
Contents
Synopsis
Official Name: RndGuard
BCALL Address: 409F
Rounds OP1 to 10 digits.
Inputs
- OP1 = floating point
Outputs
- OP1 = OP1 rounded to the 10th digit
Destroys
- AF, BC, DE, HL
Example
B_CALL OP1Set3 ;OP1=floating point 3 B_CALL SqRoot ;returns with OP1=floating point 1.7320508075689 B_CALL RndGuard ;returns with OP1=1.732050808