((x / 65536) ^ 2) * 65536 where x between 0 and 65536