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

2^x function.

Pascal
function Exp2Int64(const X: Integer): Int64; overload;

Returns the value of 2 raised to the power of X. Valid result is returned for X smaller than 64.

This function is more than 10x as fast as a call to the Power function.

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