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

Multiple variable gcd patch (Attempt #2) #411

Conversation

Reptorian1125
Copy link

@Reptorian1125 Reptorian1125 commented Feb 11, 2024

Again, sorry if I screwed up anything by using -f on the last time. Struggling with git as this is still new to me. Anyways, the changes to gcd() allows for these examples:

C:\Windows\System32>gmic echo {gcd(30,16,20)}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
2
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo {gcd([30,16],20)}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
2
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo {gcd([30,16,20])}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
2
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo {gcd(30,[16,20])}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
2
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo {gcd(320,240)}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
80
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo {gcd(320,240,25)}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
5
[gmic]./ End G'MIC interpreter.

C:\Windows\System32>gmic echo {gcd([1520,10000],[500,250])}
[gmic]./ Start G'MIC interpreter (v.3.3.3).
10
[gmic]./ End G'MIC interpreter.

@Reptorian1125
Copy link
Author

This pull request is closed as not needed any more.

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.

None yet

1 participant