If you've always hated incrementing (or decrementing) float variables by some constant float within the range of -1 ≤ 0 ≤ 1, and increment ≠ 0, and wanted to implement a better approach by using integral data types (such as char, short, int, and long), then this article best describes the solution to your ordeal. Applications of this optimization vary from different fields of computer programming. One of which is Bersenham's Algorithm for drawing a line.