improve numerical stability of several distributions

Rewrite private `_pdf`/`_cdf` methods of several distributions to improve numerical stability in corner cases. Also stop silencing the floating-point warnings in the test suite, which is no longer needed.