From 039eafa275852004c3483ecee323527f90e6ac81 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 7 Jun 2013 13:23:11 -0400 Subject: Remove commented-out duplicate function declarations --- mathfuncs_fabs.h | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'mathfuncs_fabs.h') diff --git a/mathfuncs_fabs.h b/mathfuncs_fabs.h index f04004a..60fb0a8 100644 --- a/mathfuncs_fabs.h +++ b/mathfuncs_fabs.h @@ -51,7 +51,6 @@ namespace vecmathlib { } template - // auto mathfuncs::vml_ilogb(realvec_t x) -> intvec_t typename realvec_t::intvec_t mathfuncs::vml_ilogb(realvec_t x) { intvec_t e = lsr(as_int(x) & IV(FP::exponent_mask), FP::mantissa_bits); @@ -67,22 +66,22 @@ namespace vecmathlib { } template - // auto mathfuncs::vml_ieee_isfinite(realvec_t x) -> boolvec_t - typename realvec_t::boolvec_t mathfuncs::vml_ieee_isfinite(realvec_t x) + typename realvec_t::boolvec_t + mathfuncs::vml_ieee_isfinite(realvec_t x) { return (as_int(x) & IV(FP::exponent_mask)) != IV(FP::exponent_mask); } template - // auto mathfuncs::vml_ieee_isinf(realvec_t x) -> boolvec_t - typename realvec_t::boolvec_t mathfuncs::vml_ieee_isinf(realvec_t x) + typename realvec_t::boolvec_t + mathfuncs::vml_ieee_isinf(realvec_t x) { return (as_int(x) & IV(~FP::signbit_mask)) == IV(FP::exponent_mask); } template - // auto mathfuncs::vml_ieee_isnan(realvec_t x) -> boolvec_t - typename realvec_t::boolvec_t mathfuncs::vml_ieee_isnan(realvec_t x) + typename realvec_t::boolvec_t + mathfuncs::vml_ieee_isnan(realvec_t x) { return (as_int(x) & IV(FP::exponent_mask)) == IV(FP::exponent_mask) && @@ -90,8 +89,8 @@ namespace vecmathlib { } template - // auto mathfuncs::vml_ieee_isnormal(realvec_t x) -> boolvec_t - typename realvec_t::boolvec_t mathfuncs::vml_ieee_isnormal(realvec_t x) + typename realvec_t::boolvec_t + mathfuncs::vml_ieee_isnormal(realvec_t x) { return (as_int(x) & IV(FP::exponent_mask)) != IV(FP::exponent_mask) && @@ -99,8 +98,8 @@ namespace vecmathlib { } template - // auto mathfuncs::vml_isfinite(realvec_t x) -> boolvec_t - typename realvec_t::boolvec_t mathfuncs::vml_isfinite(realvec_t x) + typename realvec_t::boolvec_t + mathfuncs::vml_isfinite(realvec_t x) { #if defined VML_HAVE_INF || defined VML_HAVE_NAN return vml_ieee_isfinite(x); @@ -110,7 +109,6 @@ namespace vecmathlib { } template - // auto mathfuncs::vml_isinf(realvec_t x) -> boolvec_t typename realvec_t::boolvec_t mathfuncs::vml_isinf(realvec_t x) { #if defined VML_HAVE_INF @@ -149,7 +147,6 @@ namespace vecmathlib { } template - // auto mathfuncs::vml_signbit(realvec_t x) -> boolvec_t typename realvec_t::boolvec_t mathfuncs::vml_signbit(realvec_t x) { return convert_bool(as_int(x) & IV(FP::signbit_mask)); -- cgit v1.1