#include "image_funcs.h"

namespace mimas {

template<>
float _mul2< float >( const float &x )
{
  return 2.0f * x;
}

template<>
double _mul2< double >( const double &x )
{
  return 2.0 * x;
}

template<>
int _mul2< int >( const int &x )
{
  return x << 1;
}

template<>
short int _mul2< short int >( const short int &x )
{
  return x << 1;
}

};