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

tan

(PHP 3, PHP 4, PHP 5)

tan -- 正切

说明

float tan ( float arg )

tan() 返回参数 arg 的正切值。参数 arg 的单位为弧度。

例子 1. tan()

<?php

echo tan(M_PI_2); // 1

?>

参见 atan()sin()cos()deg2rad()




<srandtanh>
 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