db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaa...@apache.org
Subject svn commit: r645972 - /db/derby/docs/trunk/src/ref/rreffuncdegrees.dita
Date Tue, 08 Apr 2008 15:25:28 GMT
Author: chaase3
Date: Tue Apr  8 08:25:27 2008
New Revision: 645972

URL: http://svn.apache.org/viewvc?rev=645972&view=rev
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
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
-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
+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
 a DOUBLE PRECISION number.</p> </section>
 <refsyn><title>Syntax</title><codeblock><b>DEGREES ( <varname>number</varname>
)</b></codeblock> </refsyn>

View raw message