You are here: Symbol Reference > Math387 Namespace > Functions > Math387.Log2Int64 Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.Log2Int64 Function

Log base 2.

Pascal
function Log2Int64(x: Int64): Int64; overload;

Returns the log base 2 for 64bit integer argument X.

This function is more than 10x as fast as the Log2 with real argument.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!