OSDN Git Service

Document that trig functions accept/return values in radians.
authorSimon Riggs <simon@2ndQuadrant.com>
Mon, 15 Mar 2010 19:03:31 +0000 (19:03 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Mon, 15 Mar 2010 19:03:31 +0000 (19:03 +0000)
doc/src/sgml/func.sgml

index 38350c1..bf31ee5 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.507 2010/03/03 22:28:42 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.508 2010/03/15 19:03:31 sriggs Exp $ -->
 
  <chapter id="functions">
   <title>Functions and Operators</title>
    Finally, <xref linkend="functions-math-trig-table"> shows the
    available trigonometric functions.  All trigonometric functions
    take arguments and return values of type <type>double
-   precision</type>.
+   precision</type>. Trigonometric functions arguments are expressed
+   in radians. Inverse functions return values are expressed in
+   radians.  See unit transformation functions
+   <literal><function>radians</function>()</literal> and
+   <literal><function>degrees</function>()</literal> above.
   </para>
 
    <indexterm>
    <table id="functions-math-trig-table">
     <title>Trigonometric Functions</title>
 
-    <tgroup cols="2">
+    <tgroup cols="3">
      <thead>
       <row>
        <entry>Function</entry>