summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-01-27 11:43:40 -0500
committerErik Schnetter <schnetter@gmail.com>2013-01-27 11:43:40 -0500
commit5d35f350f600969224048fe417b11b6c6d7b7f99 (patch)
treed00cf260aba0a10ea929269b1541a7f8638cc3ba
parentec85b441cdd525f8b1eb1f86813599c763c7c7fa (diff)
downloadvecmathlib-5d35f350f600969224048fe417b11b6c6d7b7f99.zip
vecmathlib-5d35f350f600969224048fe417b11b6c6d7b7f99.tar.gz
Add comment on implementing cbrt()
-rw-r--r--mathfuncs_sqrt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mathfuncs_sqrt.h b/mathfuncs_sqrt.h
index 050fc91..51a86ca 100644
--- a/mathfuncs_sqrt.h
+++ b/mathfuncs_sqrt.h
@@ -10,6 +10,9 @@
+// For cbrt: Use "Halley's method with cubic convergence":
+// <http://press.mcs.anl.gov/gswjanuary12/files/2012/01/Optimizing-Single-Node-Performance-on-BlueGene.pdf>
+
namespace vecmathlib {
template<typename realvec_t>
OpenPOWER on IntegriCloud