Add sqrt() and rsqrt() to Sk4f.
authormtklein <mtklein@chromium.org>
Thu, 26 Feb 2015 20:48:05 +0000 (12:48 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Feb 2015 20:48:05 +0000 (12:48 -0800)
commit24aa0f0679d5299b394bcb62b1c4430e4cd34c65
tree4101cac8b70bb03c7eb3ccf7c31f693248b1d197
parent2719552fb1469b9697a3ee8b15a537044fa6dd96
Add sqrt() and rsqrt() to Sk4f.

This doesn't add them to the second-stringer Sk4i.  It's unclear we should be
doing that often, and we don't have efficient ways to do it except via floats.

BUG=skia:

Review URL: https://codereview.chromium.org/964603002
src/core/Sk4x.h
src/core/Sk4x_portable.h
src/core/Sk4x_sse.h
tests/Sk4xTest.cpp