JCL Help:LogBaseN

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns log base N.


Pascal

 function LogBaseN(Base: Float; X: Float): Float;


Parameters

Parameters Description
Base: Float Base of log (N). Base must be larger than 0.0 and cannot be 1.0 or an exception is raised.
X: Float Value whose log base N to calculate. N must be larger than 0.0.


Return Value

Log base N of X.


Description

LogBaseN returns the log base N of X. This is calculated as LogN(X) := Log.2(X) / Log.2(N)


See Also

LogBase2 LogBase10


About

Unit

JclMath


Donator

Clayton Collie


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