And use doubles so that we don't have to worry so much about overflow.
Created attachment 344734 [details] the patch
Landed in https://trac.webkit.org/changeset/233714/webkit
<rdar://problem/42049019>
Re-opened since this is blocked by bug 187579