Alex Miller <[email protected]> writes:

> On Sunday, June 25, 2017 at 1:55:42 AM UTC-5, henrik42 wrote:
>>> Oh, I thought because there is the float-function floats are supported. 
>> Clojure could use "0.2f" to print/read floats and still use double "0.2" as 
>> the default (but float's "Infinity" may be challenging ;-)
>>
>
> Rich decided long ago that Clojure would only support primitive longs and 
> primitive doubles (for reading, function invocation, function return, etc). 
> Primitive floats, ints, shorts are supported only for the purposes of Java 
> interop (invoking Java methods primarily) and to some limited degree in 
> tight loop/recur loops.


It appears though, that Clojure doesn't provide access to all of the
operators in Java, over all data types. It would probably be nice to add
these all, systematically, for interop if nothing else.

Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to