division

  1. practicalsoft

    B4X FEED Shifting right versus division by power of two

    Does B4X (or the underlying Java) replace division by factors of two with a logical shift. That is ... B4X: Dim n as Int n = Bit.ShiftRight(n, 8) or : n = n / 256 ... produce the same outcome, but the second one is quicker to code. Do they both execute equally quickly? I am...
عقب
بالا