fend-core

Crates.iofend-core
lib.rsfend-core
version1.5.8
created_at2020-08-31 12:21:08.666745+00
updated_at2026-01-24 04:09:19.329947+00
descriptionArbitrary-precision unit-aware calculator
homepagehttps://github.com/printfn/fend
repositoryhttps://github.com/printfn/fend
max_upload_size
id283063
size516,027
(printfn)

documentation

README

fend-core

This library implements most of the features of fend.

It requires no dependencies and can easily be used by other Rust programs.

Example

extern crate fend_core;

fn main() {
    let mut context = fend_core::Context::new();
    let result = fend_core::evaluate("1 + 1", &mut context).unwrap();
    assert_eq!(result.get_main_result(), "2");
}
Commit count: 2035

cargo fmt