2
submitted 10 months ago by planet@clj.social to c/clojure@lemmy.ml

Number comparison gotchas in Clojure

https://clojure-diary.gitlab.io/2024/01/20/number-comparison-gotchas-in-clojure.html

Notes ;; number_comparison_gotchas.clj (= 7 7) (= 7 7.0) (= (double 7) 7.0) (= 7.0 7.0) (= 7 7.0M) (= 7.0 7.0M) (= 7.0 (double 7.0M)) (= 7 7/1) (double 1/3)

#clojure #clj #cljs !clojure@lemmy.ml @clojure

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 20 Jan 2024
2 points (100.0% liked)

Clojure programming language discussion

451 readers
1 users here now

Clojure is a Lisp that targets JVM and JS runtimes

Finding information about Clojure

API Reference

Clojure Guides

Practice Problems

Interactive Problems

Clojure Videos

The Clojure Community

Clojure Books

Tools & Libraries

Clojure Editors

Web Platforms

founded 4 years ago
MODERATORS