-
-
Notifications
You must be signed in to change notification settings - Fork 484
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
feat: add complex/parse-float64
#1362
Conversation
Signed-off-by: Snehil Shah <snehilshah.989@gmail.com>
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.
👋 Hi there! 👋
And thank you for opening your first pull request! We will review it shortly. 🏃 💨
@stdlib/complex/parse-float64
complex/parse-float64
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.
Thanks @Snehil-Shah! Looks good to me.
lib/node_modules/@stdlib/complex/parse-float64/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/complex/parse-float64/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/complex/parse-float64/benchmark/benchmark.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
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.
Requested few changes.
lib/node_modules/@stdlib/complex/parse-float64/examples/index.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Co-authored-by: Pranav <85227306+Pranavchiku@users.noreply.github.com> Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Co-authored-by: Pranav <85227306+Pranavchiku@users.noreply.github.com> Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Throwing an error is preferred for this API. |
lib/node_modules/@stdlib/complex/parse-float64/docs/types/index.d.ts
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/complex/parse-float64/docs/types/test.ts
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/complex/parse-float64/docs/types/test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
@kgryte did the required changes. |
Signed-off-by: Snehil Shah <130062020+Snehil-Shah@users.noreply.github.com>
@kgryte @Pranavchiku @Planeshifter any other suggestions on this PR? |
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
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.
Let's get this over the finish line and landed. I made some small changes to the main.js
file to follow how we format error messages by using the @stdlib/string/format
package.
Will merge after CI has passed; thanks for your contribution!
lib/node_modules/@stdlib/complex/parse-float64/examples/index.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/complex/parse-float64/docs/types/index.d.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
…x.d.ts Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
Resolves #1333
Description
This pull request:
Related Issues
This pull request:
@stdlib/complex/parse-float64
#1333Questions
Should it raise an error OR return null, when given a string that cannot be parsed into Complex128? Current implementation raises an error.
Other
Tests:
Benchmarks
Examples
Checklist
@stdlib-js/reviewers