Skip to content

Conversation

@bimalgaudel
Copy link
Member

This commit introduces a modification to the floating-point number printing logic. When a floating-point number's absolute value falls below a defined threshold, it will now be printed as exactly "0" instead of its very small non-zero representation.

This change improves the readability of output by eliminating the visual clutter of extremely small numbers that are effectively zero for most practical purposes.

This commit introduces a modification to the floating-point number printing logic. When a floating-point number's absolute value falls below a defined threshold, it will now be printed as exactly "0" instead of its very small non-zero representation.

This change improves the readability of output by eliminating the visual clutter of extremely small numbers that are effectively zero for most practical purposes.
@bimalgaudel bimalgaudel requested a review from evaleev May 2, 2025 17:35
@evaleev evaleev merged commit ee4c908 into master May 18, 2025
9 checks passed
@evaleev evaleev deleted the gaudel/feature/truncate-near-zero-float-printing branch August 27, 2025 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants