aboutsummaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2024-10-25 11:46:47 +0900
committerYawning Angel <yawning@schwanenlied.me>2024-10-25 11:46:47 +0900
commit61795232f4bab46f4f9fccc542ef7ec1ebcac02f (patch)
tree31760e67449ea62f33b155874efaf16b3a2408b7 /src/string.cpp
parentf047f804f67bd57713d058a0df6d83c49e0f3848 (diff)
src/big_int.cpp: Use square-multiply for exponentiation
For utterly unrealistic constant sizes, this still crashes on my system, but it crashes fast due to the OOM killer, and people using rediculously large exponents get what they deserve.
Diffstat (limited to 'src/string.cpp')
0 files changed, 0 insertions, 0 deletions