This question is related to solving $f(f(x))=g(x)$.
Assume that $g$ is a bijective function $g:\mathbb{R}\to \mathbb{R}$. If there is no continuous function $f : \mathbb R \to \mathbb R\,$ for which $f\circ f=g,\, $ does this imply also that there is no continuous function $f : \mathbb R \to \mathbb R\,$ for which $f\circ f=g+g^{-1}\ $(where $\,g^{-1}$ is the compositional inverse of $\,g$)? What if we replace $\mathbb R$ by $\mathbb C$?
Note:Assume $g$ is continuous in both cases $\mathbb{R}$ and also $\mathbb{C}$ and analytic in $\mathbb{C}$