Merge pull request #15379 from xuanxu/rational_precision

Fix AS::NumberHelper results with rationals
Conflicts:
	activesupport/CHANGELOG.md