Restored all cn/2 based algorithms, except cn/r.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
* @author SChernykh
|
||||
*/
|
||||
|
||||
#if (ALGO_BASE == ALGO_CN_2)
|
||||
inline uint get_reciprocal(uint a)
|
||||
{
|
||||
const float a_hi = as_float((a >> 8) + ((126U + 31U) << 23));
|
||||
@@ -52,3 +53,4 @@ inline uint fast_sqrt_v2(const ulong n1)
|
||||
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user