summaryrefslogtreecommitdiffstats
path: root/vec_avx_double4.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-07-07 15:55:07 -0400
committerErik Schnetter <schnetter@gmail.com>2013-07-07 15:55:07 -0400
commita505a64345a0d43e212bba31694f48790a5eac2f (patch)
treec1d7cb295b65a3383969aa243f1dc0be5b3f4966 /vec_avx_double4.h
parent37594f7b2ac9fb3c17d6a46cc193b19f477cb422 (diff)
downloadvecmathlib-a505a64345a0d43e212bba31694f48790a5eac2f.zip
vecmathlib-a505a64345a0d43e212bba31694f48790a5eac2f.tar.gz
Simplify return type specifications
Diffstat (limited to 'vec_avx_double4.h')
-rw-r--r--vec_avx_double4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vec_avx_double4.h b/vec_avx_double4.h
index 45b34cb..db5c20d 100644
--- a/vec_avx_double4.h
+++ b/vec_avx_double4.h
@@ -657,12 +657,12 @@ namespace vecmathlib {
// boolvec definitions
- inline boolvec<double,4>::intvec_t boolvec<double,4>::as_int() const
+ inline intvec<double,4> boolvec<double,4>::as_int() const
{
return _mm256_castpd_si256(v);
}
- inline boolvec<double,4>::intvec_t boolvec<double,4>::convert_int() const
+ inline intvec<double,4> boolvec<double,4>::convert_int() const
{
//return ifthen(v, U(1), U(0));
return lsr(as_int(), bits-1);
@@ -687,12 +687,12 @@ namespace vecmathlib {
// intvec definitions
- inline boolvec<double,4>::realvec_t intvec<double,4>::as_float() const
+ inline realvec<double,4> intvec<double,4>::as_float() const
{
return _mm256_castsi256_pd(v);
}
- inline boolvec<double,4>::realvec_t intvec<double,4>::convert_float() const
+ inline realvec<double,4> intvec<double,4>::convert_float() const
{
return MF::vml_convert_float(*this);
}
OpenPOWER on IntegriCloud