Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Math.BitwiseShiftRight

Perform bitwise shift right.

Component Version macOS Windows Linux Server iOS SDK
Math 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Math.BitwiseShiftRight"; value; steps )   More

Parameters

Parameter Description Example
value The number to shift. 2
steps The number of steps to shift. 1

Result

Returns number.

Description

Perform bitwise shift right.
Only for integer numbers.

Updated to use 64-bit signed integers in version 7.3.

Examples

Shifts number. 16 shifted by 2 to right results in 4

MBS( "Math.BitwiseShiftRight"; 16; 2 )

See also

Release notes

Example Databases

Blog Entries

Created 18th August 2014, last changed 14th July 2017


Math.BitwiseShiftLeft - Math.BitwiseXOR

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat