source/text/scalc/01/04060106.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a52d4ff5939aca0856be9a9cd9cda3306931a43e Author: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> Date: Mon May 23 12:13:47 2016 +0200 COS(PI()/2) doesn't return 0 (fpu accurracy), use COS(PI()*2) instead since that gives 1 as expected. Change-Id: Icd1a0424f90ef9256c706cecc0ab3b7e2c741181 diff --git a/source/text/scalc/01/04060106.xhp b/source/text/scalc/01/04060106.xhp index 4e6f10e..9640ead 100644 --- a/source/text/scalc/01/04060106.xhp +++ b/source/text/scalc/01/04060106.xhp @@ -263,7 +263,7 @@ <paragraph id="par_id831019" role="paragraph" xml-lang="en-US">To return the cosine of an angle in degrees, use the RADIANS function.</paragraph> <paragraph id="hd_id3153579" role="heading" level="3" xml-lang="en-US">Examples</paragraph> -<paragraph id="par_id3147240" role="paragraph" xml-lang="en-US"><item type="input">=COS(PI()/2)</item> returns 0, the cosine of PI/2 radians.</paragraph> +<paragraph id="par_id3147241" role="paragraph" xml-lang="en-US"><item type="input">=COS(PI()*2)</item> returns 1, the cosine of 2*PI radians.</paragraph> <paragraph id="par_id3147516" role="paragraph" xml-lang="en-US"><item type="input">=COS(RADIANS(60))</item> returns 0.5, the cosine of 60 degrees.</paragraph><comment>see also SIN, TAN, COT, ACOS, ASIN, ATAN, ATAN2, ACOT</comment> </section> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits