This is incorrect. See e.g. `man acos` (the section on errors) for why.