Why are there no asin2() and acos2() functions similar to atan2()?
问题 From my understanding, the atan2() function exists in programming languages because atan() itself cannot always determine the correct theta since the output is restricted to -pi/2 to pi/2. If this is the case, then the same problem applies to both asin() and acos() , both of whom also have restricted ranges, so then why are there no asin2() and acos2() functions? 回答1: First off, note that the syntaxes of the two arctan functions are atan(y/x) and atan2(y, x) . This distinction is important,