PostgreSQL/Math Functions/cos — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 16:45, 26 мая 2010
cos(x): Returns the cosine of x
<source lang="sql">
postgres=# -- cos(x): Returns the cosine of x postgres=# SELECT cos(pi()) AS cos_pi, cos(0) AS cos_zero;
cos_pi | cos_zero
+----------
-1 | 1
(1 row) postgres=#
</source>