fn linear_search_ascending_vector(x: Value, xp: &Float64Vector) -> usize
search the biggest number that smaller than x in xp