summaryrefslogtreecommitdiffstats
path: root/vec_sse_float1.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_sse_float1.h
parent37594f7b2ac9fb3c17d6a46cc193b19f477cb422 (diff)
downloadvecmathlib-a505a64345a0d43e212bba31694f48790a5eac2f.zip
vecmathlib-a505a64345a0d43e212bba31694f48790a5eac2f.tar.gz
Simplify return type specifications
Diffstat (limited to 'vec_sse_float1.h')
-rw-r--r--vec_sse_float1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vec_sse_float1.h b/vec_sse_float1.h
index 67185a1..6c82e02 100644
--- a/vec_sse_float1.h
+++ b/vec_sse_float1.h
@@ -507,12 +507,12 @@ namespace vecmathlib {
// boolvec definitions
- inline boolvec<float,1>::intvec_t boolvec<float,1>::as_int() const
+ inline intvec<float,1> boolvec<float,1>::as_int() const
{
return I(v);
}
- inline boolvec<float,1>::intvec_t boolvec<float,1>::convert_int() const
+ inline intvec<float,1> boolvec<float,1>::convert_int() const
{
return v;
}
@@ -535,12 +535,12 @@ namespace vecmathlib {
// intvec definitions
- inline intvec<float,1>::realvec_t intvec<float,1>::as_float() const
+ inline realvec<float,1> intvec<float,1>::as_float() const
{
return FP::as_float(v);
}
- inline intvec<float,1>::realvec_t intvec<float,1>::convert_float() const
+ inline realvec<float,1> intvec<float,1>::convert_float() const
{
// return FP::convert_float(v);
return _mm_cvtss_f32(_mm_cvtsi32_ss(_mm_setzero_ps(), v));
OpenPOWER on IntegriCloud