3#ifndef pRC_CORE_BASIC_FUNCTIONS_ISQRT_H
4#define pRC_CORE_BASIC_FUNCTIONS_ISQRT_H
11 template<IsUn
signedIntegral T>
12 static inline constexpr T iSqrt(
T const a)
15 [&a](
auto const &self,
T const low,
T const high)
23 auto const mid = (low + high +
T(1)) /
T(2);
26 return self(low, mid -
T(1));
28 return self(mid, high);
30 })(
T(0), a /
T(2) +
T(1));
pRC::Float<> T
Definition externs_nonTT.hpp:1
Definition cholesky.hpp:10
RecursiveLambda(X &&) -> RecursiveLambda< RemoveReference< X > >
static constexpr T iSqrt(T const a)
Definition isqrt.hpp:12