twentyfour 0.1.0

A solver for the 24 card game
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::f64::EPSILON;

mod bound_op;
mod card;
mod op;
pub use bound_op::*;
pub use card::*;
pub use op::*;

pub fn abs_diff_eq(a: f64, b: f64) -> bool {
    (a - b).abs() < EPSILON
}