fend-core

Crates.iofend-core
lib.rsfend-core
version1.5.5
sourcesrc
created_at2020-08-31 12:21:08.666745
updated_at2024-11-16 22:08:41.960165
descriptionArbitrary-precision unit-aware calculator
homepagehttps://github.com/printfn/fend
repositoryhttps://github.com/printfn/fend
max_upload_size
id283063
size478,117
(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: 1936

cargo fmt