In this case, the value is $0.707106781186547524400844362104849039284835937688474036588339...$, so the second is (marginally) closer. I wouldn't expect there to be a uniform rule on which is more accurate, depending on what expressions you are considering. The point about division by $2$ being exact in computer math does not extend to $\frac 1{\sqrt 3}$ versus $\frac {\sqrt 3}3$, for example.