Skip to main content

float_position

Function float_position 

Source
pub fn float_position<F: Float>(y: F, t: Tolerance) -> Option<i64>
Expand description

The whole number that a float index value names: the one it equals within tolerance t, the comparison tolerance, which only Mathish makes nonzero. None for a NaN or a value that isn’t whole, which reads the fill. A whole number past i64 saturates, and so lies outside every axis. The one rule for float index values: positions, signed_positions, index_table and Edge::positions read floats through it.