Skip to main content

decode_float_single_ibm_hex

Function decode_float_single_ibm_hex 

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

Decode a COMP-1 field in IBM hexadecimal floating-point format.

ยงErrors

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