#include <cmath> double tan( double arg );
tan() 函式返回 arg 的正切值,其中 arg 以弧度表示。如果 arg 是無窮大,tan() 將返回 NAN 並引發浮點異常。