| Crates.io | mathsharp |
| lib.rs | mathsharp |
| version | 0.5.0 |
| created_at | 2025-01-10 06:48:13.56541+00 |
| updated_at | 2025-03-30 04:48:12.784983+00 |
| description | collection of mathematical functions and resources to assist in solving a wide range of topics |
| homepage | |
| repository | https://github.com/JosephGurak/mathsharp |
| max_upload_size | |
| id | 1510990 |
| size | 38,068 |
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.
Below example demonstrates using a temperature conversion function.
use mathsharp::fahrenheit_celsius;
fn main() {
//declare value you want to convert
let from_fahrenheit = 32.0;
let to_celsius = fahrenheit_celsius(from_fahrenheit);
println!("{} fahrenheit is equal to {} Celsius", from_fahrenheit, to_celsius);
}
Version 0.5.0 brings the rest of the Block 1 update content along with the April update in Block 2.
Behind the scenes mathsharp is developing tools for the future algebra and calculus Blocks.
MathSharp aims to add areas of mathematics in blocks each with consistent monthly updates.
March 1st Update:
length, mass, volume, area, time, pressure, energy, power
April 1st Update:
perimeter, area, volume, triangles, circles, quadrilaterals
May 1st Update:
trigonometry
June 1st Update: TBD
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!