Skip to content

Conversation

@erkkikeranen
Copy link
Member

@erkkikeranen erkkikeranen commented May 4, 2020

Solves #29

  • Double data type (f64) (double and not float because Clojure JVM uses Double by default)

Addition with promotion to double works:

user=> (+ 1 1) 2 user=> (+ 1 1.2) 2.2 user=> (+ 1.1 1) 2.1
@erkkikeranen erkkikeranen changed the title f64 type, addition works with floats and ints together f64 type, addition works with doubles and ints together May 4, 2020
@erkkikeranen erkkikeranen marked this pull request as ready for review May 4, 2020 14:03
@Tko1 Tko1 merged commit ae3c659 into clojure-rs:master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants