JCL Help:ISqrt
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: ISqrt Function
Search in JCL Help
Search in all projects
Summary
Returns the integral part of the square root.
Pascal
function ISqrt(const I: Smallint): Smallint;
Parameters
Parameters | Description |
const I: Smallint | The value for which to calculate ISqrt(I). Must be greater than or equal to zero. |
Return Value
The integral part of the square root of the argument.
Description
ISqrt calculates the integral part of the square root of the argument. That is, it returns Int(Sqrt(I)). Valid values for I are 0..32767. The function does not check the validity of the argument, i.e. it must be within the aforementioned range.
About
Unit
Donator
ESB Consultancy
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