Skip to main content

decode_float_double

Function decode_float_double 

Source
pub fn decode_float_double(data: &[u8]) -> Result<f64>
Expand description

Decode a COMP-2 float with default IEEE-754 big-endian interpretation.

ยงErrors

Returns CBKD301_RECORD_TOO_SHORT if the data slice has fewer than 8 bytes.