[math-fun] Analog2Digital conversion using (mod range) sampling