math_lib_rust_alfa 0.1.0

A simple Rust math library with basic arithmetic operations
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 9.51 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 246.59 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • lexanderalfabiotec-cyber/math_lib_rust_alfa
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • lexanderalfabiotec-cyber

math_lib_rust_alfa

A simple and efficient Rust math library providing basic arithmetic operations.

Features

  • soma - Addition operation
  • subtracao - Subtraction operation
  • multiplicacao - Multiplication operation
  • divisao - Division operation

Installation

Add this to your Cargo.toml:

[dependencies]
math_lib_rust_alfa = "0.1"

Usage

use math_lib_rust_alfa::{soma, subtracao, multiplicacao, divisao};

fn main() {
    let result = soma(5, 3);
    println!("5 + 3 = {}", result); // Output: 5 + 3 = 8
    
    let result = subtracao(10, 4);
    println!("10 - 4 = {}", result); // Output: 10 - 4 = 6
    
    let result = multiplicacao(6, 7);
    println!("6 * 7 = {}", result); // Output: 6 * 7 = 42
    
    let result = divisao(20, 4);
    println!("20 / 4 = {}", result); // Output: 20 / 4 = 5
}

License

This project is dual-licensed under either of:

at your option.