-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Fibonacci.js
overhaul
#1049
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
Fibonacci.js
overhaul
#1049
Conversation
Also added support to `Identity`, `matrixMultiply`, and `matrixExpo`
This pull request introduces 1 alert when merging 33df079 into 95a8ec0 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging f4f1d53 into 95a8ec0 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 2bcbc58 into 95a8ec0 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 3d865f3 into 95a8ec0 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 0dc81a8 into 95a8ec0 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 1f61f51 into 95a8ec0 - view on LGTM.com new alerts:
|
FibonacciMatrixExpo
FibonacciMatrixExpo
and negatives for the entire Fibonacci.js
FibonacciMatrixExpo
and negatives for the entire Fibonacci.jsBigInt
& negative support to Fibonacci.js
This pull request introduces 1 alert when merging b2101fc into 95a8ec0 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging c5fe0b5 into 95a8ec0 - view on LGTM.com new alerts:
|
This wasn't originally part of the PR, but I thought it would be good to add
This pull request introduces 3 alerts when merging 787fd75 into 95a8ec0 - view on LGTM.com new alerts:
|
BigInt
& negative support to Fibonacci.js
BigInt
& negative support to Fibonacci.js
, also generator fn
This pull request introduces 3 alerts when merging 028ebe9 into 95a8ec0 - view on LGTM.com new alerts:
|
BigInt
& negative support to Fibonacci.js
, also generator fnFibonacci.js
overhaul
This pull request introduces 3 alerts when merging 69bbe51 into 95a8ec0 - view on LGTM.com new alerts:
|
My bad, I didn't recognize that the array literal was interpreted as subscript, lol |
This pull request introduces 3 alerts when merging 82861ef into 95a8ec0 - view on LGTM.com new alerts:
|
I tried removing the trailing whitespace, but somehow I can't find them. It seems those are control chars. |
Use |
I already did it, many times, and thoroughly. I just prefer to fix style errors manually. But it seems the only solution now is to use SJS. I'll install NPM & Node now |
Wait, now I read the problem is in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely a significant improvement. I've got some minor comments regarding consistency.
Added
BigInt
support toFibonacciMatrixExpo
,Identity
,matrixMultiply
, andmatrixExpo
. And added the extension to negative domain for all fns in that file. And added a generator function example. Also corrected indices to return 0 if the input arg is 0 (because that's the 0th Fib).Fixes: #1047
Describe your change:
Checklist:
Example:
UserProfile.js
is allowed butuserprofile.js
,Userprofile.js
,user-Profile.js
,userProfile.js
are notFixes: #{$ISSUE_NO}
.