#celsius #fahrenheit #resources #operations #temperature #convert

bin+lib mathsharp

collection of mathematical functions and resources to assist in solving a wide range of topics

3 releases (breaking)

0.3.0 Feb 2, 2025
0.2.0 Jan 12, 2025
0.1.0 Jan 10, 2025

#466 in Math

Download history 269/week @ 2025-01-07 13/week @ 2025-01-14 1/week @ 2025-01-21 104/week @ 2025-01-28 22/week @ 2025-02-04 5/week @ 2025-02-11

134 downloads per month

Apache-2.0

7KB

mathsharp

Rust Crate for Working with Mathematical Operations

The Goal of mathsharp is to provide a fast and friendly experience for anyone needing to use math in their projects, from unit converisons to calculus and beyond.

Example

Below example demonstrates using a temperature conversion function.

use mathsharp::fahrenheit_celsius;

fn main() {
    let from_fahrenheit = 32.0;
    let to_celsius = fahrenheit_celsius(from_fahrenheit);
    
    println!("{} fahrenheit is equal to {} Celsius", from_fahrenheit, to_celsius);   
}

Roadmap

MathSharp aims to add areas of mathematics in blocks each with consistent monthly updates.

BLOCK 1: Unit Conversions

    March 1st Update:  
                        length, mass, volume, area, time, pressure, energy, power

BLOCK 2: Geometric Calculations

    April 1st Update: 
                        perimeter, area, volume, triangles, circles, quadrilaterals
                        
    May 1st Update:
                        trigonometry

BLOCK 3: Algebra

    June 1st Update: TBD
                        

More Blocks will be added and existing ones updated as MathSharp progresses towards its goal

Website On its way!

Around the time of BLOCK 3 MathSharp website will be launched using the Dioxus framework to create a place for more documentation, math resources and a special surprise!

No runtime deps