Remix.run Logo
▲ Bit Shifting in Basic(subethasoftware.com)
24 points by efren6 4 days ago | 1 comments
▲pcwalton 29 minutes ago | parent [-]

You can shift an integer 1 bit to the left by adding it to itself. This should be faster than multiplying by 2 on ancient CPUs.