PostgreSQL/Math Functions/cos
Версия от 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>