Module math

Source

Constants§

EPSILON

Functions§

clockwise_points_f64
Returns true iff the traversal p1->p2->p3 is in clockwise order and not collinear.
euclid_dist_f64
euclid_dist_vec_f64
f64_approximately
into_bitvec
Converts a usize into BitVec using the specified number of bits
normalize_point_f64
normalize_vec_f64
num_bits_to_store
Returns the minimum number of bits needed to store n elements
num_significant_bits