diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-08-21 14:06:40 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-08-21 14:06:40 -0400 |
commit | 96bb7ef9a533562cca0c45318d37029c3d939f86 (patch) | |
tree | 41da23e0bb12625e6f197beefdedc13c5080cd4f /mathfuncs_rcp.h | |
parent | 733a2dd58afc0a0c81f94316dbbc4955741ec84a (diff) | |
download | vecmathlib-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.h | 2 |
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; |