Previous: , Up: syslib bytevectors accessors   [Index]


12.17.5.6 Double–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 8.

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

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

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

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

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

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

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

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

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

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