public final float getFloat(long offset) { return Float.intBitsToFloat(Integer.reverseBytes(Float.floatToRawIntBits(io.getFloat(offset)))); }
public final float getFloat(long offset) { return Float.intBitsToFloat(Integer.reverseBytes(Float.floatToRawIntBits(io.getFloat(offset)))); }
public final float getFloat(long offset) { return Float.intBitsToFloat(Integer.reverseBytes(Float.floatToRawIntBits(io.getFloat(offset)))); }
public final float getFloat(long offset) { return Float.intBitsToFloat(Integer.reverseBytes(Float.floatToRawIntBits(io.getFloat(offset)))); }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getFloat(offset)); } }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getFloat(offset)); } }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getFloat(offset)); } }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getFloat(offset)); } }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }) public IRubyObject get_float32(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_float" }) public IRubyObject read_float(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_float" }) public IRubyObject read_float(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_float" }) public IRubyObject read_float(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }) public IRubyObject get_float32(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }) public IRubyObject get_float32(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }) public IRubyObject get_float32(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_float" }) public IRubyObject read_float(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(0)); }
/** * Reads a 32 bit floating point value from the memory address. * * @param offset The offset from the base pointer address to read the value. * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }, required = 1) public IRubyObject get_float32(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(getOffset(offset))); }
/** * Reads a 32 bit floating point value from the memory address. * * @param offset The offset from the base pointer address to read the value. * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }, required = 1) public IRubyObject get_float32(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(getOffset(offset))); }
/** * Reads a 32 bit floating point value from the memory address. * * @param offset The offset from the base pointer address to read the value. * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }, required = 1) public IRubyObject get_float32(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(getOffset(offset))); }
/** * Reads a 32 bit floating point value from the memory address. * * @param offset The offset from the base pointer address to read the value. * @return The value read from the address. */ @JRubyMethod(name = { "get_float32", "get_float" }, required = 1) public IRubyObject get_float32(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getFloat(getOffset(offset))); }