Julia Programming Language
Why 1-0.4 = 0.6 vs 1 - 1.4 = -0.399999999999
General Usage
giordano
May 19, 2025, 2:37pm
2
Also
PSA: floating-point arithmetic
5 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Float representation of the same number may not be equal?
General Usage
question
10
943
November 19, 2019
PSA: floating-point arithmetic
Offtopic
14
7632
July 8, 2021
Approx with a weird behaviour
General Usage
1
373
January 16, 2019
Float comparison error
General Usage
4
1245
June 19, 2018
Why do simple arithmetics cause weird Precision bugs
General Usage
10
349
September 10, 2024