SChernykh / sqrt_v2

Square root for Cryptonight variant 2 - integer only operations
1 stars 1 forks source link

sqrt_v2

Square root for Cryptonight variant 2 - integer only operations. This code is intended for CPUs with slow FPU or without FPU at all. CPUs with 32 KB or larger L1 cache will be faster with large LUT version. CPUs with very small L1 cache will be faster with small LUT version.

SqrtV2::get() function (fast_sqrt_v2.h)

SqrtV2SmallLUT::get() function (fast_sqrt_v2_small_LUT.h)

SqrtV2LargeLUT::get() function (fast_sqrt_v2_large_LUT.h)