← All docs

ptr_read_f32()

Reads one IEEE 754 single-precision value through a raw pointer and returns it as a float.

ptr_read_f32()

function ptr_read_f32(pointer $pointer): float

Reads one IEEE 754 single-precision value through a raw pointer and returns it as a float.

Parameters:

  • $pointer (pointer)

Returns: float

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how ptr_read_f32 is implemented in the compiler, see the internals page.