Next: , Previous: , Up: syslib bytevectors accessors   [Index]


12.17.5.5 Single–precision IEEE flonum setters and getters

For these operations: the argument bv is a bytevector object; the argument fx-idx is a non–negative fixnum representing an octet index in the bytevector; fl is a flonum representing a value to be stored in a bytevector.

NOTE For these operations: the index fx-idx does not need to be aligned to a multiple of 4.

Function: $bytevector-ieee-single-big-ref bv fx-idx
Function: $bytevector-ieee-single-big-set! bv fx-idx fl

Setter and getter for single–precision IEEE flonums under big endianness.

Function: $bytevector-ieee-single-little-ref bv fx-idx
Function: $bytevector-ieee-single-little-set! bv fx-idx fl

Setter and getter for single–precision IEEE flonums under little endianness.

Unsafe Operation: $bytevector-ieee-single-native-ref bv fx-idx
Unsafe Operation: $bytevector-ieee-single-native-set! bv fx-idx fl

Setter and getter for single–precision IEEE flonums under native endianness.

Unsafe Operation: $bytevector-ieee-single-nonnative-ref bv fx-idx
Unsafe Operation: $bytevector-ieee-single-nonnative-set! bv fx-idx fl

Setter and getter for single–precision IEEE flonums under non–native endianness.

Function: $bytevector-ieee-single-ref bv fx-idx endianness
Function: $bytevector-ieee-single-set! bv fx-idx ei-val endianness

Setter and getter for single–precision IEEE flonums. endianness must be a symbol among: ‘big’, ‘little’, ‘native’.