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

Complex: moving math methods to Math #9739

Merged
merged 3 commits into from Nov 6, 2020
Merged

Complex: moving math methods to Math #9739

merged 3 commits into from Nov 6, 2020

Conversation

cristian-lsdb
Copy link
Contributor

@cristian-lsdb cristian-lsdb commented Sep 10, 2020

Following the discussion in the issue #9729
I moved Complex#exp, Complex#log, Complex#log2, Complex#log10 and Complex#sqrt to Math#exp, Math#log, Math#log2, Math#log10 and Math#sqrt.
And I completed the documentation with examples.

Copy link
Member

@bcardiff bcardiff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please leave the specs in complex_spec.cr, they can be in a describe Math block, but they should live in that file.

Also, run $ crystal tool format to make CI (and humans) happy.

@cristian-lsdb
Copy link
Contributor Author

Thank you for your feedback. You are right it’s cleaner to keep all spec for complex in the same file. I have updated the PR with the required changes.

@bcardiff bcardiff added this to the 1.0.0 milestone Sep 29, 2020
@bcardiff
Copy link
Member

@cristian-lsdb can you rebase this on master so the CI is happy. We are still missing one more 👍 review before merging, but since de CI is (wrongly) complaining that might mislead other reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants