Set bit

Sets a specific bit in a binary number


This function sets a specific bit in a binary number. The number can be entered in the formats hexadecimal, decimal, octal or binary.

The number of the bit to be set is specified in the second input line. Notice that the numbering starts with the right bit with the number 0. If the bit is already set, there is no change.

The result is displayed in the formats hexadecimal, decimal, octal and binary.


Set bit in binary number

 Select the input format
 Input
Number
Number of the bit to be set
Bit no.
  Results
Bin
Octal
Decimal
Hexadecimal

IT Functions

Decimal, Hex, Bin, Octal conversionShift bits left or rightSet a bitClear a bitBitwise ANDBitwise ORBitwise exclusive OR

Special functions

AiryDerivative AiryBessel-IBessel-IeBessel-JBessel-JeBessel-KBessel-KeBessel-YBessel-YeSpherical-Bessel-J Spherical-Bessel-YHankelBetaIncomplete BetaIncomplete Inverse BetaBinomial CoefficientBinomial Coefficient LogarithmErfErfcErfiErfciFibonacciFibonacci TabelleGammaInverse GammaLog GammaDigammaTrigammaLogitSigmoidDerivative SigmoidSoftsignDerivative SoftsignSoftmaxStruveStruve tableModified StruveModified Struve tableRiemann Zeta

Hyperbolic functions

ACoshACothACschASechASinhATanhCoshCothCschSechSinhTanh

Trigonometrische Funktionen

ACosACotACscASecASinATanCosCotCscSecSinSincTanDegree to RadianRadian to Degree

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?