devarith 0.1.2

A simple math crate for basic arithmetic operations.
Documentation
  • Coverage
  • 80%
    4 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 1.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.09 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • thedevsaddam
devarith-0.1.2 has been yanked.

Usages

use devarith::divide;
fn main() {
    let a = 10.0;
    let b = 0.0;

    match divide(a, b) {
        Ok(result) => println!("{} / {} = {}", a, b, result),
        Err(e) => println!("Error: {}", e),
    }
}