Skip to content

Minor fixes.#91

Merged
trekhleb merged 5 commits into
trekhleb:minor-fixesfrom
Bruce-Feldman:master
Jul 4, 2018
Merged

Minor fixes.#91
trekhleb merged 5 commits into
trekhleb:minor-fixesfrom
Bruce-Feldman:master

Conversation

@Bruce-Feldman
Copy link
Copy Markdown
Contributor

Minor fixes/improvements to a small number of basic algorithms.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #91 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #91   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         100    100           
  Lines        2033   2015   -18     
  Branches      354    347    -7     
=====================================
- Hits         2033   2015   -18
Impacted Files Coverage Δ
...rc/algorithms/math/is-power-of-two/isPowerOfTwo.js 100% <100%> (ø) ⬆️
.../math/least-common-multiple/leastCommonMultiple.js 100% <100%> (ø) ⬆️
...hms/math/euclidean-algorithm/euclideanAlgorithm.js 100% <100%> (ø) ⬆️
src/algorithms/sets/fisher-yates/fisherYates.js 100% <100%> (ø) ⬆️
src/algorithms/math/bits/getBit.js 100% <100%> (ø) ⬆️
...rithms/math/is-power-of-two/isPowerOfTwoBitwise.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93bfe97...2e32dff. Read the comment docs.

@trekhleb trekhleb changed the base branch from master to minor-fixes July 4, 2018 14:52
@trekhleb
Copy link
Copy Markdown
Owner

trekhleb commented Jul 4, 2018

Thank you for the fixes @Bruce-Feldman

@trekhleb trekhleb merged commit e36c441 into trekhleb:minor-fixes Jul 4, 2018
shoredata pushed a commit to shoredata/javascript-algorithms that referenced this pull request Mar 28, 2019
* Get Bit: Make more terse

* Power of two: Allowed 1 as a valid power of 2.
Power of two: Removed unnecessary exception throwing.

* Fisher Yates: Made more terse

* Least Common Multiple: Fill undefined value

* Greatest Common Divisor: Fill undefined value.
Greatest Common Divisor: Make more terse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants