x2 constant

double const x2

Implementation

static const double x2 = x * 2;