##### Ninja Library - Mathematical Function

# njHypot

Dertermines length of a hypotenuse

### FORMAT

`

  Float njHypot( x , y )
  Float x
  Float y

`

### PARAMETER

  `x` | Arbitrary real number
  `y` | Arbitrary real number

### RETURN

  Length of a hypotenuse

### DESCRIPTION

  If the value of the length of x and y are given, returns the length of the hypotenus of the right angled triangle and returns the value found as the result.

### EXAMPLE

      ans = njHypot( 3.0f , 4.0f );
      % Result %
      ans = 5.0

### REFERENCE

  `njSqrt()
  `

njHypot

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999