Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes. #91

Merged
merged 5 commits into from
Jul 4, 2018
Merged

Minor fixes. #91

merged 5 commits into from
Jul 4, 2018

Conversation

Bruce-Feldman
Copy link
Contributor

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Greatest Common Divisor: Make more terse.
Power of two: Removed unnecessary exception throwing.
@codecov-io
Copy link

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
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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* 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.

None yet

3 participants