PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<asinhatan>
Last updated: Mon, 16 Jul 2012

atan2

(PHP 3 >= 3.0.5, PHP 4, PHP 5)

atan2 -- 两个参数的反正切

说明

float atan2 ( float y, float x )

本函数计算两个变量 xy 的反正切值。和计算 y / x 的反正切相似,只除了两个参数的符号是用来确定结果的象限之外。

本函数的结果为弧度,其值在 -PI 和 PI 之间(包括 -PI 和 PI)。

参见 acos()atan()




<asinhatan>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST