pub fn emit_f64<T: Borrow<f64>, O: Write + ?Sized>(
    value: T,
    output: &mut O,
) -> Result<usize, EmitError> {
    let bytes = value.borrow().to_le_bytes();
    output.write_all(&bytes)?;
    Ok(bytes.len())
}
/// Emit a 64-bit floating point to the output.
///
/// See https://webassembly.github.io/spec/core/binary/values.html#floating-point
Emit a 64-bit floating point to the output.
Emit a 64 - bit floating point to the output .
pub fn emit_f64<T: Borrow<f64>, O: Write + ?Sized>(
    value: T,
    output: &mut O,
) -> Result<usize, EmitError> {
    let bytes = value.borrow().to_le_bytes();
    output.write_all(&bytes)?;
    Ok(bytes.len())
}
pub fn emit_f64 < T : Borrow < f64 > , O : Write + ? Sized > ( value : T , output : & mut O , ) -> Result < usize , EmitError > { let bytes = value . borrow ( ) . to_le_bytes ( ) ; output . write_all ( & bytes ) ? ; Ok ( bytes . len ( ) ) }
Emit a 64-bit floating point to the output.
Emit a 64 - bit floating point to the output .
value
T
output
&mut O
value
T
output
&mut O