@neauoire @neauoire For what it does, it seems to be a very consise implementation (and likely fast too, at least in a non-pipelined execution). I pondered over it for a while though ... Can you reveal any of what it is used for? Some transformation of coordinates?
@andreer It's used in a routine that returns an offset to be used to find a routine in a lookup table of pointers. It's part of a project that uses cons cells.