Julia Language Can’t Even Handle Simple Math

By: julia on Abel Soares Siqueira

Re-posted from: https://abelsiqueira.com/blog/2023-08-30-julia-language-cannot-handle-simple-math/

I have a new video up about how Julia cannot even handle simple math! Check the video out or check an edited written version below.

Don’t forget to like and subscribe

Banner for youtube video


Introduction

Julia is supposed to be a great programming language, but it can’t even do simple math correctly.
Take a look at this:

julia> 0.1 + 0.2 - 0.3
5.551115123125783e-17

It should be zero, but it’s actually not.
The notation means