updated to docs for rational.d