Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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