FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    min

    function · ferroui-base · v0.5.0

    fn min(val1: f64, val2: f64) -> f64
    

    Returns the smaller of two doubles; NaN is propagated and -0.0 < +0.0.

    f64::min ignores NaN operands, which is not what the layout and geometry code ported into this crate expects.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.