Function gds::utils::bytes_to_gds_real [] [src]

pub fn bytes_to_gds_real(bytes: &[u8]) -> f64

Convert a slice of bytes into a 64 bit real.

The used format is not conform to IEEE floats as it uses 16 as base and excess 64 notation for the exponent. The first byte is used for the exponent (bits 2-8) and the sign (bit 1).