Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit55ecc0b

Browse files
committed
Fix typo.
1 parent933848b commit55ecc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/algorithms/math/bits/updateBit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export default function updateBit(number, bitPosition, bitValue) {
1111
// Init clear mask.
1212
constclearMask=~(1<<bitPosition);
1313

14-
//Cleat bit value and then set it up to required value.
14+
//Clear bit value and then set it up to required value.
1515
return(number&clearMask)|(bitValueNormalized<<bitPosition);
1616
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp