\begin{equation}
\setlength\abovedisplayskip{0.1pt}%shrink space
\setlength\belowdisplayskip{0.1pt}
  f(\gamma)=
  \begin{cases}
      0.5\gamma^2 & {\rm if  \left| \gamma \right| < 1}\\
      \left| \gamma \right|-0.5& {\rm otherwise}
  \end{cases}
  \label{eq:f}
  \end{equation}
