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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

Math.BitwiseShiftLeft

Perform bitwise shift left.

Component Version macOS Windows Linux Server iOS SDK
Math 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Math.BitwiseShiftLeft"; 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 left.
Only for integer numbers.

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

Examples

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

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

See also

Release notes

Blog Entries

This function is free to use.

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


Math.BitwiseOR - Math.BitwiseShiftRight

💬 Ask a question or report a problem