Difference between revisions of "83:ROMCalls:40CA"

From WikiTI
Jump to: navigation, search
 
(No difference)

Latest revision as of 13:00, 14 April 2005

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.