miniblog.
← Back to all posts
Nov 15, 2014 at 22:14
"you could almost write a book on [colons in ranges] alone" floating-point ranges are hard:
ranges terribly sensitive to floating point · Issue #2333 · JuliaLang/julia
This one is kind of funny julia> v=.1:.1:.3 0.1:0.1:0.2
Related Posts
Mar 9, 2017 at 19:20
Did you know that M-x calc in Emacs supports exact fractions? (I didn't.) Use colons, so 1:3 is one third.