#include <cmath> double acos( double arg );
acos() 函式返回 arg 的反餘弦,其範圍在 [0, pi] 之間。arg 應該在 -1 到 1 之間。如果 arg 超出此範圍,acos() 返回 NAN 並引發浮點異常。