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
show post in topic
Related topics
Topic
Replies
Views
Activity
Float representation of the same number may not be equal?
General Usage
question
10
1107
November 19, 2019
PSA: floating-point arithmetic
Offtopic
13
8044
July 8, 2021
Approx with a weird behaviour
General Usage
1
421
January 16, 2019
Float comparison error
General Usage
4
1362
June 19, 2018
Why do simple arithmetics cause weird Precision bugs
General Usage
10
524
September 10, 2024