Skip to content

Add modf() in math module #458

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

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

Aasthaengg
Copy link
Contributor

This PR adds functionality to use modf() function in math module. It compiles fine with python but gives a compilation error with lpython as pointed out in #457.

@namannimmo10
Copy link
Collaborator

@Aasthaengg -- we can complete this now. Would you like to?

@namannimmo10 namannimmo10 marked this pull request as ready for review August 11, 2022 06:29
@namannimmo10 namannimmo10 changed the title modf() in math module Add modf() in math module Aug 11, 2022
@certik
Copy link
Contributor

certik commented Aug 11, 2022

This is good, but can you please keep the original author in at least one of the commits? That way we credit the work that was done, which is very important. You can also keep the original commits and then submit commits to fix it, whichever way you want to do it.

@namannimmo10 namannimmo10 merged commit 148cae5 into lcompilers:main Aug 12, 2022
@namannimmo10
Copy link
Collaborator

Right, I wanted to do that. Did a squash and merge -- added @Aasthaengg as a co-author.

@certik
Copy link
Contributor

certik commented Aug 12, 2022

That works, perfect! Thanks for finishing this.

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.

5 participants