diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-09-02 13:47:39 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-09-02 13:47:39 -0400 |
commit | cb309aa994a4488d7056f182b48668a423f0d5fe (patch) | |
tree | 66ee5792a2dd01e2d7595b17c842b312f9d8bfcb /vec_sse_float1.h | |
parent | b3624a5e692f65b88ed80554379d449dbff9fe72 (diff) | |
download | vecmathlib-cb309aa994a4488d7056f182b48668a423f0d5fe.zip vecmathlib-cb309aa994a4488d7056f182b48668a423f0d5fe.tar.gz |
SSE: Rename function argument
Diffstat (limited to 'vec_sse_float1.h')
-rw-r--r-- | vec_sse_float1.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vec_sse_float1.h b/vec_sse_float1.h index 2976275..a5df06b 100644 --- a/vec_sse_float1.h +++ b/vec_sse_float1.h @@ -430,13 +430,14 @@ namespace vecmathlib { return to_float(_mm_min_ss(from_float(v), from_float(y.v))); } realvec fmod(realvec y) const { return std::fmod(v, y.v); } - realvec frexp(intvec_t* ir) const + realvec frexp(intvec_t* irp) const { int iri; realvec r = std::frexp(v, &iri); - if (isinf()) iri = std::numeric_limits<int_t>::max(); - if (isnan()) iri = std::numeric_limits<int_t>::min(); - ir->v = iri; + int_t ir = iri; + if (isinf()) ir = std::numeric_limits<int_t>::max(); + if (isnan()) ir = std::numeric_limits<int_t>::min(); + irp->v = ir; return r; } realvec hypot(realvec y) const { return MF::vml_hypot(*this, y); } |