Fix hang/incorrect result for ndigits with b < 0.
Remove debug junk
Add tests for ndigits (issue #8266).
Move negative base check inside ndigits0z and add a test for (unsigned, signed) case.
ndigits: don't take abs(n) if b < 0.
Throw error when bigint ndigits has a negative base.
Merge remote-tracking branch 'julia/master' into ndigits_hang
Replace 'manual' cld with cld function now that #8111 has been merged.
Match previous ndigits0z interface.
Call 0z version of ndigitsnb, which avoids an extra branch.
Merge branch 'danluu-ndigits_hang'

Conflicts:
	test/Makefile
Merge branch 'master' of github.com:JuliaLang/julia