scipy/scipy — pull request #3222 by richardtsai (2014-01-17 12:40:58+00:00)
Title: BUG: limit input ranges in special.nctdtr

This PR is similar to #3153, and it will fix #2667. The limitations are described in the original comments.
This will also fix #3209 to some extent. There seems to be no efficient algorithm to calculate the PDF of the noncentral t distribution in high accuracy when the noncentrality parameter is large. The limitations will help avoid overflows and give a reasonable approximation under practical conditions. A warning will be issued in such cases as well.