From 57a7520545134ab95f7bb0397dcbe991c906a3e9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 6 Aug 2025 16:34:21 +0200 Subject: Added HTR solver --- src/arch/portable.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/arch/portable.h') diff --git a/src/arch/portable.h b/src/arch/portable.h index d673f15..c7f2de0 100644 --- a/src/arch/portable.h +++ b/src/arch/portable.h @@ -367,3 +367,19 @@ is_eo_even(cube_t cube) return count % 2 == 0; } + +STATIC_INLINE uint64_t +coord_epudsep(cube_t cube) +{ + return coord_epudsep_array(cube.edge); +} + +STATIC_INLINE cube_t +invcoord_epudsep(uint64_t c) +{ + cube_t ret; + + ret = SOLVED_CUBE; + invcoord_epudsep_array(c, ret.edge); + return ret; +} -- cgit v1.3