Skip to main content

pamoja_median_value

Function pamoja_median_value 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_median_value( median: *const PamojaMedian, out_value: *mut f32, ) -> bool
Expand description

Reads the current median without folding in a reading.

§Returns

true when the filter holds a reading, with the median written to out_value.

§Safety

median must be a live handle or null, and out_value must point to a writable float.