Low level software engineers use look up tables.
Hardware engineers realise that a compiler will almost always find some combination of gates which is smaller/faster than the contents of any table.