fix #6364: float ranges honor length if specified
Insert line after `.. doctest::`

Fixes HTML output and LaTeX build/output error.
Make methodswith check TypeVar.ub
Merge pull request #6658 from ihnorton/fix5722

Fix #5722 by making methodswith check TypeVar.ub
Closes #6631
Make USE_SYSTEM_LIBM work again
Merge pull request #6655 from rickhg12hs/minor_doc_fix

Insert line after `.. doctest::` in doc/manual/types.rst
Merge pull request #6613 from stevengj/rangelength

fix #6364: float ranges honor length if specified
Provide kron(sparse,dense) as discussed in #6647
Merge branch 'master' of github.com:JuliaLang/julia
Fix formatting error in performance-tips.rst
limit xtra buffer allocation
Median along arbitrary dimensions, fixes #6648
Use rand(Uint32) for small ranges.

and tests test/random.jl.
Tweak methodswith again, fix #5722

- unique the method list, in case we have multiple references (for example, 'ans')
- check for x.ub != Any if x is a TypeVar and showparents==true
Random number within range: Throw error for empty ranges.
improve factorial, closes #6579

add overflow and domain error (negative) checking, improve type-stability,
and make it faster using table lookup
add a generic factorial implementation
Merge pull request #6662 from amitmurthy/amitm/exit

Closes #6631
some cleanup of atexit worker termination, and fix nprocs==2 case