Crates.io | fix32 |
lib.rs | fix32 |
version | 1.1.2 |
source | src |
created_at | 2020-01-31 22:21:33.143868 |
updated_at | 2020-01-31 22:21:33.143868 |
description | Easy implementation of fixed point numbers in Rust, using i32 as base. Decimal places should be configured at compile time, to be able to optimize the code at max. This is a personal project and is meant to keep it clear and easily understandable. Anyone can commit improvements or extra characrterisitcs, but all of them have to be clearly explained for a non profesional programmer. I will not add any code I don't understand. |
homepage | https://github.com/josebaMdeL/Fix32 |
repository | https://github.com/josebaMdeL/Fix32 |
max_upload_size | |
id | 203768 |
size | 48,844 |
Easy implementation of fixed point numbers in Rust, using i32 as base. Decimal places should be configured at compile time, to be able to optimize the code at max. This is a personal project and is meant to keep it clear and easily understandable. Anyone can commit improvements or extra characrterisitcs, but all of them have to be clearly explained for a non profesional programmer. I will not add any code I don't understand.
All the operations that convert from float types to int will truncate value instead of roinding.
Mayor number in verion will lock all the features that it has and works. Minor version number will imply improvements on the code or bug corrections, but no new features.
This software us licensed under License GPL-3.0-only.
Copyright Joseba Martinez 2020 (josebam@protonmail.com).