<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - CALC: SIN(PI()) and COS(PI()/2) results are different from zero"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137744#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - CALC: SIN(PI()) and COS(PI()/2) results are different from zero"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137744">bug 137744</a>
from <span class="vcard"><a class="email" href="mailto:dbdecastro@gmail.com" title="d4mx <dbdecastro@gmail.com>"> <span class="fn">d4mx</span></a>
</span></b>
<pre>(In reply to Mike Kaganski from <a href="show_bug.cgi?id=137744#c2">comment #2</a>)
<span class="quote">> Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=166704" name="attach_166704" title="A sample from MS Excel 2016, from which screenshot in comment 1 was taken">attachment 166704</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=166704&action=edit" title="A sample from MS Excel 2016, from which screenshot in comment 1 was taken">[details]</a></span>
> A sample from MS Excel 2016, from which screenshot in <a href="show_bug.cgi?id=137744#c1">comment 1</a> was taken
>
> (In reply to d4mx from <a href="show_bug.cgi?id=137744#c0">comment #0</a>)
> > The problem related in this report do not happen on Excel or
> > GoogleSpreadsheets.
>
> This is wrong.
> In Google Sheets, the default format does not show the small values; but
> applying the custom number format, you may see the same values:
> <a href="https://docs.google.com/spreadsheets/d/">https://docs.google.com/spreadsheets/d/</a>
> 1ZQ69JN1kCbkXy1VM3B02Zek_NWc3AHDexgVOA48nNDA/edit?usp=sharing
>
> In MS Excel, the attached document created in Excel 2016 didn't even require
> some manual formatting, and displayed the values right upon formula entry in
> a clean document. The same for Excel Online, which uses latest MS code (so
> is not an issue with "not current" version 2016 used on my desktop):
> <a href="https://1drv.ms/x/s!AqRfhRdisQhQg7hBswbWoVdFancMgQ?e=AtjGw4">https://1drv.ms/x/s!AqRfhRdisQhQg7hBswbWoVdFancMgQ?e=AtjGw4</a></span >
Is there a way to do COS(90) direct in degrees (without conversion to rad) on
Calc? Apparently when software have this option, there is no "very small
number" issue.
I think (not sure) there is a way to type =COS(90) on Excel and it return exact
zero. On MATLAB if you do cosd(90) it returns exact 0 (but if you type
(cos(pi/2)) it returns the very small number.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>