diff options
Diffstat (limited to 'src/solvers/h48/coordinate.h')
| -rw-r--r-- | src/solvers/h48/coordinate.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/solvers/h48/coordinate.h b/src/solvers/h48/coordinate.h index 25e13f9..6caac2a 100644 --- a/src/solvers/h48/coordinate.h +++ b/src/solvers/h48/coordinate.h | |||
| @@ -1,9 +1,5 @@ | |||
| 1 | #define H48_ESIZE(h) ((COMB_12_4 * COMB_8_4) << (int64_t)(h)) | 1 | /* Macros defined in a separate file for easier testing */ |
| 2 | 2 | #include "coordinate_macros.h" | |
| 3 | #define COCLASS_MASK (UINT32_C(0xFFFF) << UINT32_C(16)) | ||
| 4 | #define COCLASS(x) (((x) & COCLASS_MASK) >> UINT32_C(16)) | ||
| 5 | #define TTREP_MASK (UINT32_C(0xFF) << UINT32_C(8)) | ||
| 6 | #define TTREP(x) (((x) & TTREP_MASK) >> UINT32_C(8)) | ||
| 7 | 3 | ||
| 8 | STATIC_INLINE int64_t coord_h48(cube_t, const uint32_t *, uint8_t); | 4 | STATIC_INLINE int64_t coord_h48(cube_t, const uint32_t *, uint8_t); |
| 9 | STATIC_INLINE int64_t coord_h48_edges(cube_t, int64_t, uint8_t, uint8_t); | 5 | STATIC_INLINE int64_t coord_h48_edges(cube_t, int64_t, uint8_t, uint8_t); |
