Skip to main content

is_sorted_f64

Function is_sorted_f64 

Source
pub fn is_sorted_f64(data: &[f64]) -> bool
Expand description

Verify that a slice of f64 is sorted in ascending order.

Returns true if sorted (NaN-free).