njHypot Japanese
<-|INDEX|->
Dertermines length of a hypotenuse.

FORMAT

#include <Ninja.h> 
Float njHypot( x , y )
Float x
Float y

PARAMETERS

x
an arbitrary real number
y
an arbitrary real number

RETURN VALUE

length of a hypotenuse

FUNCTION

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.
ans = njHypot( 3.0f , 4.0f );
Result
ans = 5.0

EXAMPLE


NOTES


RELATED TOPICS

njSqrt

njHypot
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997