minmax-cli 0.1.0-beta.7

programs computing min and max argument values
/*
min + max cli programs

implementation by Radim Kolar <hsn@sendmail.cz> 2026
https://gitlab.com/hsn10/minmax-cli

This is free and unencumbered software released into the public domain.
SPDX-License-Identifier: Unlicense OR CC0-1.0

For more information, please refer to <http://unlicense.org/>
or <https://creativecommons.org/publicdomain/zero/1.0/>
*/
#![forbid(unsafe_code)]

use std::cmp::Ordering;

const NAME: &str = "min";
const ACTION: &str = "minimum";

pub const fn num_cmp() -> fn(&f64, &f64) -> Ordering {
   |a, b| a.partial_cmp(b).unwrap()
}

include!("util.rs");