\[ \int \frac {12+16 x^3+e^6 \left (2-24 x^2\right )-8 \log (2)}{e^{12}-2 e^6 x+x^2} \, dx \]
Optimal antiderivative \[ \frac {4 x^{3}-6+4 \ln \left (2\right )-x}{\frac {x}{2}-\frac {{\mathrm e}^{6}}{2}} \]
command
integrate((-8*log(2)+(-24*x^2+2)*exp(3)^2+16*x^3+12)/(exp(3)^4-2*x*exp(3)^2+x^2),x, algorithm="giac")
Giac 1.9.0-11 via sagemath 9.6 output
\[ 8 \, x^{2} + 8 \, x e^{6} + \frac {2 \, {\left (4 \, e^{18} - e^{6} + 4 \, \log \left (2\right ) - 6\right )}}{x - e^{6}} \]
Giac 1.7.0 via sagemath 9.3 output
\[ \text {Exception raised: NotImplementedError} \]________________________________________________________________________________________