All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.samples.java.ex.FPL_Sample Maven / Gradle / Ivy

Go to download

An auxiliary findbugs.sourceforge.net plugin for java bug detectors that fall outside the narrow scope of detectors to be packaged with the product itself.

The newest version!
package ex;

public class FPL_Sample {
    public void testFloat() {
        for (float f = 0.0f; f < 10.0f; f += 1.0f) {
        }
    }

    public void testDouble() {
        for (double d = 0.0; d < 10.0; d += 1.0) {
        }
    }

    public void testTougherFloat(String s) {
        for (float f = 0.0f; f < Double.valueOf(s).doubleValue(); f += 1.0f) {
        }

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy