1.c++用法 tan_sita = std::tan(度数*3.1415926/180) 2.手机或者电脑上验证 tan_sita = tan(度数) 注意:手机上不要跟c++一样转成弧度哦,不然怎么都验算不对了。