[erlang-questions] erlang bignums implementation
Thu May 12 14:55:03 CEST 2011
One thing to be aware of is that bsr is an arithmetic shift, both for normal integers and bignums.
----- "Steve Davis" <> wrote:
> As far as overhead, this may help:
> Caveats? None that I am personally aware of. Others may be able to
> On May 12, 5:10 am, Paolo Negri <> wrote:
> > Dear list
> > I was pleased to find out that the following in erlang just works
> > Eshell V5.8.3 (abort with ^G)
> > 1> 1 bsl 70.
> > 1180591620717411303424
> > I'm then evaluating to use bitwise operations on bignums (up to 128
> > bits) and I'm asking if anyone can share how internally bignums are
> > represented what's the overhead of using them and if there are any
> > caveats related to their usage.
> > Thanks,
> > Paolo Negri
> > _______________________________________________
> > erlang-questions mailing list
> erlang-questions mailing list
More information about the erlang-questions