[Libreoffice-bugs] [Bug 137744] CALC: SIN(PI()) and COS(PI()/2) results are different from zero

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 26 12:42:41 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137744

--- Comment #5 from d4mx <dbdecastro at gmail.com> ---
(In reply to Mike Kaganski from comment #2)
> Created attachment 166704 [details]
> A sample from MS Excel 2016, from which screenshot in comment 1 was taken
> 
> (In reply to d4mx from comment #0)
> > 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:
> https://docs.google.com/spreadsheets/d/
> 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):
> https://1drv.ms/x/s!AqRfhRdisQhQg7hBswbWoVdFancMgQ?e=AtjGw4

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201026/7bba2c79/attachment.htm>


More information about the Libreoffice-bugs mailing list