JCL Help:Pythagoras

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Computes Sqrt(X^2 + Y^2)


Pascal

 function Pythagoras(const X: Float; const Y: Float): Float;


Parameters

Parameters Description
const X: Float First float.
const Y: Float Second float.


Return Value

Sqrt(X^2 + Y^2)


Description

Computes Sqrt(X^2 + Y^2) without destructive underflow or overflow.


About

Unit

JclMath


Donator

J. Debord


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page