Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: decimal Clear Filter

A real fixed-point decimal crate in Rust

Primitive fixed-point decimal types. Rust built-in f32 and f64 types have two drawbacks: can not represent decimal numbers in base 10 accurately, because they are in base 2; can not guarantee the fraction precision, because they are floating-point. This crate provides fixed-point decimal types to address the issues by using integer types to represent numbers with a scaling factor (also called as "scale") in base 10 to achieve the accuracy. This is a common idea. Many other decimal crates do

Johnny.Decimal – A system to organise your life

A system to organise your life Johnny.Decimal is designed to help you find things quickly, with more confidence, and less stress. You assign a unique ID to everything in your life. These IDs help you stay organised. They impose constraints that make it harder to get lost. And you create your own index to link everything in your life together. The system is free to use and the concepts are the same at home, work, or that club you manage. The problem In real life, if you stored your stuff in