Download OS-9 Technical User Manual

Transcript
Chapter 6
The Math Module
T$Log
Natural Logarithm Function
ASM Call
TCALL T$Math,T$Log
Input
d0:d1 = x
d2:d3 = Precision
Output
d0:d1 = Log(x)
Condition Codes
C
Set on error
Possible Errors
E$IllArg
Function
T$Log returns the natural logarithm of the argument passed. If an illegal
argument is passed, an error is returned.
6-47