public final double getDouble(long offset) { return Double.longBitsToDouble(Long.reverseBytes(Double.doubleToRawLongBits(io.getDouble(offset)))); }
public final double getDouble(long offset) { return Double.longBitsToDouble(Long.reverseBytes(Double.doubleToRawLongBits(io.getDouble(offset)))); }
public final double getDouble(long offset) { return Double.longBitsToDouble(Long.reverseBytes(Double.doubleToRawLongBits(io.getDouble(offset)))); }
public final double getDouble(long offset) { return Double.longBitsToDouble(Long.reverseBytes(Double.doubleToRawLongBits(io.getDouble(offset)))); }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getDouble(offset)); } }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getDouble(offset)); } }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getDouble(offset)); } }
public final IRubyObject get(Ruby runtime, MemoryIO io, long offset) { return runtime.newFloat(io.getDouble(offset)); } }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_double" }) public IRubyObject read_double(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float64", "get_double" }) public IRubyObject get_float64(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float64", "get_double" }) public IRubyObject get_float64(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_double" }) public IRubyObject read_double(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float64", "get_double" }) public IRubyObject get_float64(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_double" }) public IRubyObject read_double(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "read_double" }) public IRubyObject read_double(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 bit floating point value from the memory address. * * @return The value read from the address. */ @JRubyMethod(name = { "get_float64", "get_double" }) public IRubyObject get_float64(ThreadContext context) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(0)); }
/** * Reads a 64 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_float64", "get_double" }, required = 1) public IRubyObject get_float64(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(getOffset(offset))); }
/** * Reads a 64 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_float64", "get_double" }, required = 1) public IRubyObject get_float64(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(getOffset(offset))); }
/** * Reads a 64 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_float64", "get_double" }, required = 1) public IRubyObject get_float64(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(getOffset(offset))); }
/** * Reads a 64 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_float64", "get_double" }, required = 1) public IRubyObject get_float64(ThreadContext context, IRubyObject offset) { return RubyFloat.newFloat(context.runtime, getMemoryIO().getDouble(getOffset(offset))); }