blob: b169dcfe638937897391f921ca6ec7b207b292bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include "grains.h"
uint64_t square(uint8_t index) {
if (0 < index && index <= 64)
return 1ULL << (index - 1);
return 0;
}
uint64_t total(void) {
return ((1ULL << 63) << 1) - 1;
}
|