Skip to content

Commit bd11a0f

Browse files
Document that trig functions accept/return values in radians.
1 parent 1a163a0 commit bd11a0f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/src/sgml/func.sgml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.507 2010/03/03 22:28:42 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.508 2010/03/15 19:03:31 sriggs Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -910,7 +910,11 @@
910910
Finally, <xref linkend="functions-math-trig-table"> shows the
911911
available trigonometric functions. All trigonometric functions
912912
take arguments and return values of type <type>double
913-
precision</type>.
913+
precision</type>. Trigonometric functions arguments are expressed
914+
in radians. Inverse functions return values are expressed in
915+
radians. See unit transformation functions
916+
<literal><function>radians</function>()</literal> and
917+
<literal><function>degrees</function>()</literal> above.
914918
</para>
915919

916920
<indexterm>
@@ -941,7 +945,7 @@
941945
<table id="functions-math-trig-table">
942946
<title>Trigonometric Functions</title>
943947

944-
<tgroup cols="2">
948+
<tgroup cols="3">
945949
<thead>
946950
<row>
947951
<entry>Function</entry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy