Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
clojure
lang
Numbers
flipBit
clojure.lang.Numbers.flipBit C# (CSharp) Метод
Документация по классу Numbers
Показать файл
Открыть проект
flipBit()
приватный
Метод
private
flipBit
(
long
x
,
int
n
) :
long
x
long
n
int
Результат
long
public static long flipBit(long x, int n) { return x ^ (1L << n); }
Same methods
Numbers::
flipBit
(
long
x
,
long
n
) :
long
Numbers::
flipBit
(
long
x
,
object
y
) :
long
Numbers::
flipBit
(
object
x
,
long
y
) :
long
Numbers::
flipBit
(
object
x
,
object
y
) :
long
Numbers
BIDivide
IsNaN
ReduceBigInt
ThrowIntOverflow
ToBigDecimal
ToBigInt
ToBigInteger
ToRatio
add
addP
and
andNot
bitOpsCast
boolean_array
booleans
byte_array
bytes
category
char_array
chars
clearBit
compare
dec
decP
divide
double_array
doubles
equal
equiv
flipBit
float_array
floats
gt
gte
hasheq
inc
incP
int_array
ints
isNeg
isPos
isZero
long_array
longs
lt
lte
max
min
minus
minusP
multiply
multiplyP
not
num
ops
or
quotient
rationalize
remainder
sbyte_array
sbytes
setBit
shiftLeft
shiftLeftInt
shiftRight
shiftRightInt
short_array
shorts
testBit
uint_array
uints
ulong_array
ulongs
unchecked_add
unchecked_dec
unchecked_inc
unchecked_int_add
unchecked_int_dec
unchecked_int_divide
unchecked_int_inc
unchecked_int_multiply
unchecked_int_negate
unchecked_int_remainder
unchecked_int_subtract
unchecked_minus
unchecked_multiply
unsignedShiftRight
unsignedShiftRightInt
ushort_array
ushorts
xor