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

Add modulo operator #9

Closed
TobiasWrigstad opened this issue Jul 18, 2014 · 6 comments
Closed

Add modulo operator #9

TobiasWrigstad opened this issue Jul 18, 2014 · 6 comments

Comments

@TobiasWrigstad
Copy link
Contributor

Add support for modulo, using the standard % operator.

@TobiasWrigstad TobiasWrigstad changed the title Support for modulo needed Add modulo operator Jul 18, 2014
@EliasC
Copy link
Contributor

EliasC commented Jul 19, 2014

I would suggest assigning this to @albertnetymk as an exercise. It is a very quick fix (really just adding % wherever there's a * or a /), but it requires finding the right files and functions and making changes to all levels of the compiler, parser --> code generation.

@supercooldave
Copy link

Excellent idea.

@TobiasWrigstad
Copy link
Contributor Author

Great!

If someone can help @albertnetymk with this in the next week, that would be great. I'd like to replace as many C hacks as possible in the sieve before the meeting.

@albertnetymk
Copy link
Contributor

Received. I will try my best to get it done ASAP.

On 19 jul 2014, at 09:56, TobiasWrigstad <notifications@ .com> wrote

Great!

If someone can help @albertnetymk with this in the next week, that would be great. I'd like to replace as many C hacks as possible in the sieve before the meeting.


Reply to this email directly or view it on GitHub.

@TobiasWrigstad
Copy link
Contributor Author

@albertnetymk Great!

@EliasC
Copy link
Contributor

EliasC commented Jul 22, 2014

Seems to be working! I'm closing this.

@EliasC EliasC closed this as completed Jul 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants