Zarith icon indicating copy to clipboard operation
Zarith copied to clipboard

Exponentiation is missing in module Q

Open loxs opened this issue 7 years ago • 2 comments

loxs avatar May 14 '18 12:05 loxs

I'm not sure what you would want from such an exponentiation. (n/d)^x = (n^x) / (d^x) where x is an integer ? As a rule, we try to follow GMP's operator set, and as far as I known there is no rational exponentiation in GMP.

antoinemine avatar Apr 02 '19 20:04 antoinemine

For now, we stick to GMP's set of rational operators. Maybe we could add more operators in the future, especially if we want to have the same features as Num's rationals. I keep this as a possible enhancement, in case anyone is interested.

antoinemine avatar Aug 22 '19 10:08 antoinemine