Documentation

Maths.php

Table of Contents

hypo() Pythagorean Theorem:.

Functions

hypo()

Pythagorean Theorem:.

hypo( $a : mixed , $b : mixed ) : float

a = 3 b = 4 r = sqrt(square(a) + square(b)) r = 5

r = sqrt(a^2 + b^2) without under/overflow.

Parameters
$a : mixed
$b : mixed
Return values
float

Search results