Example usage for com.google.gwt.corp.compatibility Numbers intBitsToFloat

List of usage examples for com.google.gwt.corp.compatibility Numbers intBitsToFloat

Introduction

In this page you can find the example usage for com.google.gwt.corp.compatibility Numbers intBitsToFloat.

Prototype

public static final float intBitsToFloat(int i) 

Source Link

Usage

From source file:com.badlogic.gdx.utils.NumberUtils.java

License:Apache License

public static float intToFloatColor(int value) {
    // This mask avoids using bits in the NaN range. See Float.intBitsToFloat javadocs.
    // This unfortunately means we don't get the full range of alpha.
    return Numbers.intBitsToFloat(value & 0xfeffffff);
}

From source file:com.badlogic.gdx.utils.NumberUtils.java

License:Apache License

public static float intBitsToFloat(int value) {
    return Numbers.intBitsToFloat(value);
}

From source file:com.googlecode.gwtquake.client.CompatibilityImpl.java

License:Open Source License

public float intBitsToFloat(int i) {
    return Numbers.intBitsToFloat(i);
}

From source file:jake2.gwt.client.AbstractGwtGLRenderer.java

License:Open Source License

@Override
protected float intBitsToFloat(int i) {
    return Numbers.intBitsToFloat(i);
}

From source file:java.io.DataInputStream.java

License:Apache License

public float readFloat() throws IOException {
    return Numbers.intBitsToFloat(readInt());
}

From source file:java.nio.DirectByteBuffer.java

License:Apache License

public final float getFloat() {
    return Numbers.intBitsToFloat(getInt());
}

From source file:java.nio.DirectByteBuffer.java

License:Apache License

public final float getFloat(int index) {
    return Numbers.intBitsToFloat(getInt(index));
}