intrf.spad line 595 [edit on github]
This package provides functions for the integration of rational functions.
infieldIntegrate(f, x) returns a fraction g such that dg/dx = f if g exists, "failed" otherwise.
internalIntegrate(f, x) returns g such that dg/dx = f.