Skip to main content

new_ordered_infinitesimal

Function new_ordered_infinitesimal 

Source
pub fn new_ordered_infinitesimal<V: TowerValue>(
    name: &str,
    larger: &V,
    smaller: &V,
    modulus: u64,
    allowed: &[u64],
) -> Result<V, String>
Expand description

Let <name> be an infinitesimal much smaller than <larger> [and much larger than <smaller>] …: an infinitesimal below larger and above smaller, each an infinitesimal itself or nothing, with its reciprocal’s residues as new_infinitesimal reads them. Refused when a bound is no infinitesimal, when the two bounds are not already ordered, and when the name is one an infinitesimal it would be ordered with already has.