[CLJ-1266] Better primitive support for floats Created: 26/Sep/13 Updated: 05/Feb/14
|Affects Version/s:||Release 1.5|
Clojure offers optimized arithmetic functions for long, int and doubles but none for floats.
|Comment by Alex Miller [ 05/Feb/14 12:29 PM ]|
I think it's unlikely the arithmetic float ops will be accepted.
|Comment by Christophe Grand [ 05/Feb/14 4:20 PM ]|
I attached a new patch with only intrinsics and more comprehensive primitive coercion. Is it the split you expected?
|Comment by Alex Miller [ 05/Feb/14 5:22 PM ]|
No, but totally my fault for saying the wrong words.
I think the changes in Compiler to get access to I2D, L2D, I2F, and L2F are potentially useful (most particularly L2D) - these would make sense in a new ticket.
The other changes in Intrinsics and Numbers to support float math are unlikely to be accepted.
|Comment by Christophe Grand [ 05/Feb/14 5:40 PM ]|
Godd thing I had already split coercions in a sparate commit then