You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ch...@apache.org on 2008/04/08 17:25:28 UTC

svn commit: r645972 - /db/derby/docs/trunk/src/ref/rreffuncdegrees.dita

Author: chaase3
Date: Tue Apr  8 08:25:27 2008
New Revision: 645972

URL: http://svn.apache.org/viewvc?rev=645972&view=rev
Log:
DERBY-2320: Example in DEGREES function is not appropriate.

Corrected example and some of the language.

Patch: DERBY-2320.diff

Contributed by Abhishek Bhaskaran

Modified:
    db/derby/docs/trunk/src/ref/rreffuncdegrees.dita

Modified: db/derby/docs/trunk/src/ref/rreffuncdegrees.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/ref/rreffuncdegrees.dita?rev=645972&r1=645971&r2=645972&view=diff
==============================================================================
--- db/derby/docs/trunk/src/ref/rreffuncdegrees.dita (original)
+++ db/derby/docs/trunk/src/ref/rreffuncdegrees.dita Tue Apr  8 08:25:27 2008
@@ -31,8 +31,8 @@
 is converted to an approximately equivalent angle measured in degrees. The
 specified number must be a <xref href="rrefsqljdoubleprecision.dita#rrefsqljdoubleprecision">DOUBLE
 PRECISION</xref> number. </p><p><note type="attention">The conversion from
-radians to degrees is not exact. You should not expect that the COS(RADIANS(90.0))
-to exactly equal 0.0.</note> </p><p>The data type of the returned value is
+radians to degrees is not exact. You should not expect DEGREES(ACOS(0.5))
+to return exactly 60.0.</note> </p><p>The data type of the returned value is
 a DOUBLE PRECISION number.</p> </section>
 <refsyn><title>Syntax</title><codeblock><b>DEGREES ( <varname>number</varname> )</b></codeblock> </refsyn>
 </refbody>