snippets 0.1.0
|
#include <concepts>
#include <cmath>
#include <vector>
#include <array>
#include <cstdint>
Go to the source code of this file.
Namespaces | |
namespace | hsc_snippets |
Functions | |
template<std::integral T> | |
int | hsc_snippets::numDigits (T num) |
template<std::integral T> | |
int | hsc_snippets::numBits (T num) |
static std::vector< int > | hsc_snippets::SieveOfEratosthenes (int n) |
static bool | hsc_snippets::isPerfectSquare (std::int32_t num) |