Hi there
maybe soneone can me explain what << and >> is for?
Aretmetic combinator
Aretmetic combinator
Mining Drill Operator
Re: Aretmetic combinator
It's left (<<) and right bitshift (https://en.wikipedia.org/wiki/Logical_shift)
Re: Aretmetic combinator
If you want to trye it out go to wolfram alpha at https://www.wolframalpha.com/input/?i=5+%3C%3C+1
and just write something like: 5 << 1 which becomes 10
Think of << as a multiplier and >> as a divider.
Where the number on the left is multiplied/divided by 2 * (number on right)
However be aware that since it's a binary operation(i guess you can call it that) it will throw away the any decimals you get so instead of 5 >> 1 = 2.5 you get 2
and just write something like: 5 << 1 which becomes 10
Think of << as a multiplier and >> as a divider.
Where the number on the left is multiplied/divided by 2 * (number on right)
However be aware that since it's a binary operation(i guess you can call it that) it will throw away the any decimals you get so instead of 5 >> 1 = 2.5 you get 2
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^Thanks for listening to our suggestions, devs !
I would jump of joy if we could specify which tiles spawned in a surfaces
Re: Aretmetic combinator
thx for help acual i dont see any use for it in my factory atm but maybe becomes usefull later
after i know its "aretmetic shift" i found this https://www.youtube.com/watch?v=fDKUq38H2jk
after i know its "aretmetic shift" i found this https://www.youtube.com/watch?v=fDKUq38H2jk
Mining Drill Operator