summaryrefslogtreecommitdiffstats
path: root/mathfuncs_rcp.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-08-21 14:06:40 -0400
committerErik Schnetter <schnetter@gmail.com>2013-08-21 14:06:40 -0400
commit96bb7ef9a533562cca0c45318d37029c3d939f86 (patch)
tree41da23e0bb12625e6f197beefdedc13c5080cd4f /mathfuncs_rcp.h
parent733a2dd58afc0a0c81f94316dbbc4955741ec84a (diff)
downloadvecmathlib-96bb7ef9a533562cca0c45318d37029c3d939f86.zip
vecmathlib-96bb7ef9a533562cca0c45318d37029c3d939f86.tar.gz
Make frexp take a pointer argument instead of a reference
Diffstat (limited to 'mathfuncs_rcp.h')
-rw-r--r--mathfuncs_rcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_rcp.h b/mathfuncs_rcp.h
index 0349cc8..6e12b27 100644
--- a/mathfuncs_rcp.h
+++ b/mathfuncs_rcp.h
@@ -63,7 +63,7 @@ namespace vecmathlib {
// Initial guess
VML_ASSERT(all(x > RV(0.0)));
intvec_t x_exp;
- x = frexp(x, x_exp);
+ x = frexp(x, &x_exp);
VML_ASSERT(all(x >= RV(0.5) && x < RV(1.0)));
realvec_t r = RV(R(48.0)/R(17.0)) - RV(R(32.0)/R(17.0)) * x;
OpenPOWER on IntegriCloud