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
911
November 19, 2019
Approx with a weird behaviour
General Usage
1
367
January 16, 2019
Float comparison error
General Usage
4
1227
June 19, 2018
Comparing floating point numbers in an intuitive way fails within julia
Internals & Design
6
1268
December 7, 2018
PSA: floating-point arithmetic
Offtopic
14
7556
July 8, 2021