Yes, but it doesn't supoort ints for all the operators, as far as I can
tell.
You are right, though, perhaps I should look at this also.
Phil
Max Penet writes:
> This seems quite similar to https://github.com/ztellman/primitive-math. Did
> you know about it?
>
> On Monday, July 3, 2017 at 11
Nicola Mometto writes:
> Hi Phillip,
>
> I've had a very quick look at the code and I've spotted a few issues,
> here's my feedback:
>
> 1- all your functions will cause input args and return value to be
> boxed. There's a few ways to avoid it, none of which are particularly
> pretty. If your lib
Nicola Mometto writes:
> Hi Phillip,
>
> I've had a very quick look at the code and I've spotted a few issues,
> here's my feedback:
>
> 1- all your functions will cause input args and return value to be
> boxed. There's a few ways to avoid it, none of which are particularly
> pretty. If your lib
this article may be helpful:
http://insideclojure.org/2014/12/15/warn-on-boxed/
On 3 July 2017 at 13:36, Tomasz Sulej wrote:
> When you decide to work with longs and doubles you can achieve the same in
> pure clojure
> Just add primitive type hints and (set! *unchecked-math* true).
> (to see if
This seems quite similar to https://github.com/ztellman/primitive-math. Did
you know about it?
On Monday, July 3, 2017 at 11:44:40 AM UTC+2, Phillip Lord wrote:
>
>
>
> This is the first alpha release of my new library! Comments welcome.
>
> Clojure has an extensive system for dealing with numbe
Hi Phillip,
I've had a very quick look at the code and I've spotted a few issues, here's my
feedback:
1- all your functions will cause input args and return value to be boxed.
There's a few ways to avoid it, none of which are particularly pretty. If your
library is not worried about performanc
This is the first alpha release of my new library! Comments welcome.
Clojure has an extensive system for dealing with numbers, including
error on overflow, or auto-promotion, defaulting to long and double data
types.
This is all well and good, but irritating if you need to implement an
algorith