83:ROMCalls:40CA

From WikiTI
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.