For a suitably chosen real constant a, let a function, \(f:\mathbb{R}-\{-a\}\to\mathbb{R}\) be defined by \(f(x)=\frac{a-x}{a+x}\). Further suppose that for any real number \(x\ne -a\) and \(f(x)\ne -a\), \((f\circ f)(x)=x\). Then \(f\left(-\frac12\right)\) is equal to :