There has been discussion of this change a few times, e.g. https://bugs.python.org/issue44603 I generally agree with your overall sentiment, but I think it's important to note that the behavior is _not_ special…
> Why would the exponent be equal to x/2 - floor(x/2) be equal to x/2 on the interval [0, 2)? floor(x/2) = 0 on the interval [0, 2), so the expression reduces to x/2. > And how does the graph of x/2 - floor(x/2) imply…
There has been discussion of this change a few times, e.g. https://bugs.python.org/issue44603 I generally agree with your overall sentiment, but I think it's important to note that the behavior is _not_ special…
> Why would the exponent be equal to x/2 - floor(x/2) be equal to x/2 on the interval [0, 2)? floor(x/2) = 0 on the interval [0, 2), so the expression reduces to x/2. > And how does the graph of x/2 - floor(x/2) imply…