endf_format 0.0.2

ENDF-6 Format Rust Library
Documentation

ENDF format

CI Crate Doc License

Rust library providing utilities for dealing with ENDF-6 format files.

ENDF-6 format specification is available at: https://www.nndc.bnl.gov/csewg/docs/endf-manual.pdf

Examples

Parse ENDF-6 format integers:

let x = endf_format::integer::parse("-1234567890");
assert_eq!(-1_234_567_890_i64, x.unwrap())

Parse ENDF-6 format reals:

let x = endf_format::real::parse("+1.234567-1");
let diff = (1.234_567e-1_f64 - x).abs();
assert!(diff < 1e-10);

Questions, Issues, Contributing

For questions and issues, open an issue here.

Contributions and Pull Requests (PR) are welcome.

License

MIT License