[squeak-dev] Number>>cubed

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Oct 23 22:20:11 UTC 2019


With integer factorization it looks even more like black magic!

a := 80538738812075974.
b := 80435758145817515.
c := 12602123297335631.
a factors. a RunArray runs: #(1 1 1) values: #(2 1545949 26048316863)
b factors. a RunArray runs: #(1 1 1 1) values: #(5 7 59753 38461073393)
c factors. a RunArray runs: #(1 1 1) values: #(463 7607 3578073991)
(b-a) factors. a RunArray runs: #(1 1 1 1 1) values: #(-1 11 43 215921
1008323)
(a*b+b squared + a squared) factors. a RunArray runs: #(1 1) values:
#(1774113869131 10954535947520123161981)
((b-a)*(a*b+b squared + a squared)-42) factors. a RunArray runs: #(1 3 3 3)
values: #(-1 463 7607 3578073991)

Le mer. 23 oct. 2019 à 23:37, tim Rowledge <tim at rowledge.org> a écrit :

>
>
> > On 2019-10-23, at 2:29 PM, Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com> wrote:
> >
> > I have unpublished acceleration for cubed and cube-root too I think.
>
> Stomp on that pedal!
>
> > For now cubed was in EToys, so should we move it to Kernel-Numbers?
>
> Certainly
>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Useful Latin Phrases:- Te precor dulcissime supplex! = Pretty please with
> a cherry on top!
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191024/371e37b3/attachment.html>


More information about the Squeak-dev mailing list