12 bit calculations and lookup table
12 bit calculations with interpolated table