83:ROMCalls:40CA

From WikiTI
Revision as of 12:00, 14 April 2005 by Kalimero (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Synopsis

Official Name: SqRoot

Call Address: 40CA

This routine calculates the square root of OP1.

Inputs

  • OP1 = floating point number

Outputs

  • OP1 = sqrt(OP1)
  • OP2,OP3 destroyed
  • AF,BC,DE,HL destroyed

Comments

This routine will throw an ErrDomain when OP1 is negative.