public class Increment
{
	public static void main(String[] args)
	{
		// Starting at zero because floats are small
		// Explicit cast required to because 0.0 is parsed as a double
		float incrementee = (float)0.0;

		// Stop counting when we lose resolution of 1.0
		while((incrementee + (float)1.0) - incrementee > 0.999999999) {
			incrementee += 1.0;
		}

		System.out.printf("%f\n", incrementee);
	}
}

@@ -125,52 +125,40 @@
 icit
- cast required to because 0.0 is parsed as a
+ly create as a float rather than
  dou
@@ -187,18 +187,12 @@
 e = 
-(float)
 0.0
+f
 ;%0A%0A%09
@@ -267,18 +267,12 @@
 e + 
-(float)
 1.0
+f
 ) - 
@@ -321,16 +321,17 @@
 e += 1.0
+f
 ;%0A%09%09%7D%0A%0A%09

Change numeric float constants to use the `f` suffix in Java