diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-20 11:23:14 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-20 11:23:14 -0400 |
commit | 7433525f9886a22956670202b5203e843cf41e5c (patch) | |
tree | 3a57dbc29e5b64b06baa9db86dd9d84b8931316f | |
parent | 1371dedd32e6615bb18918794b82217b77a0d910 (diff) | |
download | vecmathlib-7433525f9886a22956670202b5203e843cf41e5c.zip vecmathlib-7433525f9886a22956670202b5203e843cf41e5c.tar.gz |
Describe in comment how NEON implements rcp
-rw-r--r-- | mathfuncs_rcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mathfuncs_rcp.h b/mathfuncs_rcp.h index 586e9d1..d5e412f 100644 --- a/mathfuncs_rcp.h +++ b/mathfuncs_rcp.h @@ -38,6 +38,8 @@ namespace vecmathlib { // Note: don't rewrite this expression, this may introduce // cancellation errors r += r * (RV(1.0) - x*r); + + // NEON: r = r * (RV(2.0) - x*r); } // Handle negative values |