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

Raising interval to power zero should always give one #22

Open
andrewburbanks opened this issue Jul 25, 2018 · 1 comment
Open

Raising interval to power zero should always give one #22

andrewburbanks opened this issue Jul 25, 2018 · 1 comment

Comments

@andrewburbanks
Copy link

andrewburbanks commented Jul 25, 2018

Raising an interval X to the integer power zero should give the interval [1, 1] provided that X is not empty, even if X contains zero. However, the current version delivers [0, 1] if X contains zero.

Example:

interval[0]**0
interval([0.0, 1.0])

@taschini
Copy link
Owner

You're right. I'll fix that as soon as I have a little time.

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

No branches or pull requests

2 participants