Read Double

Signature

double readDouble(u64 address)

Description

Reads a 64-bit floating-point number to a given memory address and returns it.

Arguments

Address

The memory address where the value will be written to.

Alternative Syntax

The syntax local value = memory.double[address] can be used as a alternative.

Unsafe Version

An unsafe version is also available that skips safety checks in favor of improved performance. This should only be used when memory validity is guaranteed.

Unsafe functions are marked with a u suffix, such as readDoubleu, or can be used with the alternative syntax: local value = memory.doubleu[address].

Last updated