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

Power predicate #15

Open
mlliarm opened this issue Jan 19, 2022 · 0 comments
Open

Power predicate #15

mlliarm opened this issue Jan 19, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mlliarm
Copy link
Owner

mlliarm commented Jan 19, 2022

Implement the power(X, N) predicate, where X is an interval and N is a number, calculating thus X^N.

The definition of this can be found in Shary2021 page 40, and it is pretty much defined as the N-times multiplication of X with itself:

X^N = X*X*...*X, N times.

This should be calculated recursively:

X^N = X*X^(N-1).

@mlliarm mlliarm added the enhancement New feature or request label Jan 19, 2022
@mlliarm mlliarm self-assigned this Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant