197 releases
| new 0.0.197 | Nov 9, 2025 |
|---|---|
| 0.0.196 | Nov 9, 2025 |
| 0.0.171 | Oct 31, 2025 |
| 0.0.83 | Sep 30, 2025 |
#180 in Math
10,130 downloads per month
Used in 2 crates
120KB
2.5K
SLoC
Math library to calculate basic functions with minimal error per step thanks to self-balancing computation.
min_err_per_step = "0.0.71"
use min_err_per_step::trig::Trig_w_local_prec;
use min_err_per_step::base::{glob_precision, Pi};
...
glob_precision (Some (6000));
let _45deg: rugfloat = Pi() / 4;
let mut cos_45deg: rug::Float = _45deg.__cos(4200);
use min_err_per_step::trig::Trig;
use min_err_per_step::base::{glob_precision, Pi, ext_const_E};
...
let PRECO = glob_precision (Some (6000));
let _45deg: rugfloat = Pi() / 4;
let mut cos_45deg = _45deg.__cos();
let power = rugfloat::with_val_64 (PREC0, 0.693147181);
let ext_const_e = ext_const_E (&power);
use min_err_per_step::logarithm::crawler_ln;
use min_err_per_step::base::{glob_precision, Pi, ext_const_E};
...
let PRECO = glob_precision (Some (6000));
let steps_of_crawler = 6000u64;
let steps_of_feeder = 100u64;
let frequency_of_broker = 100u64;
let approx_ln_8 = crawler_ln (
&_8,
steps_of_crawler,
steps_of_feeder,
frequency_of_broker
); // calcs ln(8)
// How to establish Numerical Gravity: https://alg0z.blogspot.com/2025/09/fake-calculations-to-feed-numerical.html
Comfy way to init Rug::Integer & Rug::Float.
use min_err_per_step::editing::{
Conv_Strn_2_Rugfloat,
Conv_Strn_2_Rugint
};
use min_err_per_step::base::glob_precision;
...
glob_precision (Some (6000));
let prec = glob_precision ( None );
let radix = 10;
let float_tst: rugfloat = ".39807508642406493739712550055038
64911990643623425267084063851895
75946388957261768583316".float (radix) * -1i64;
let int_tst: rugfint = "39807508642406493739712550055038
64911990643623425267084063851895
75946388957261768583316".int (10);
let its_possible_to_use_any_delim_You_want: rugint = "1!000@000".int(radix);// 1 000 000
Links:
Rolling guide of TAM (Topnotch Practical ways to use Console/Terminal): https://alg0z8n8its9lovely6tricks.blogspot.com/2024/08/tam-guide-of-features-smart-tricks.html
DISCORD: https://discord.gg/X9RBbtCN (Alg0Z).
TELEGRAM: https://t.me/+N_TdOq7Ui2ZiOTM6 (Alg0Z).
ALG0Z RU: https://dzen.ru/alg0z
ALG0Z EN: https://alg0z.blogspot.com
ChangeLog: https://alg0z8n8its9lovely6tricks.blogspot.com/2023/09/tam-changelog.html
FORUM: https://www.neowin.net/forum/topic/1430114-tam/
E-MAIL: sark0y@protonmail.com
GITHUB: https://github.com/SarK0Y/TAM_RUSTy.git
YouTube: https://www.youtube.com/@evgeneyknyazhev968
Twitter_X: https://x.com/SarK0Y8
Donations: https://boosty.to/alg0z/donate https://zap-hosting.com/en/shop/donation/1f0c83845d810df04ca74e56238399f7/
MAKE CONSOLE GREAT AGAIN.🤘
my the Best Wishes to You 🙃
Dependencies
~7MB
~123K SLoC