Abdur-rahmaanJ / Abdur-rahmaanJ/richterm
Why steps is `i32`?
- Ngôn ngữ chính
- Rust
- Star
- 24
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I have many tasks which progresses way beyond i32 and they're always integer. Could you please modify limits? And what's the reason it's have a sign?
and why do you have update so low precision of `f32` for an update? I understand that final result doesn't require greater precision, but it's harder to calculate progress.
For example, I'm downloading 50GB file, on 100Mb/s network, thus I have at most 12 megabytes of per second. Let's say I've downloaded a chunk of 10 megabytes, so if I divide 50 gigabytes to 10 megabytes, I'll have roughly 0, beyond 6th significant digit of `f32`.
If I have greater initial values or lower speed, I'll have 0 progress.
If the progress bar would have `u64` inside of total and `u64` of progress, no such error would occur
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.