Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/labplot
/ intPow
Function
intPow
src/3rdparty/QXlsx/source/xlsxcellreference.cpp:13–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
namespace {
12
13
int intPow(int x, int p)
14
{
15
if (p == 0) return 1;
16
if (p == 1) return x;
17
18
int tmp = intPow(x, p/2);
19
if (p%2 == 0) return tmp * tmp;
20
else return x * tmp * tmp;
21
}
22
23
QString col_to_name(int col_num)
24
{
Callers
1
col_from_name
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected