i16_quantize

Function i16_quantize 

Source
pub fn i16_quantize(n: f64) -> i16
Expand description

Quantize a signed 16-bit number

§Parameters

  • n: the number to quantize

§Returns

The quantized number