[Libreoffice-bugs] [Bug 137670] Simplify uses of sal_math_Double

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 22 08:37:41 UTC 2020


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

--- Comment #1 from Stephan Bergmann <sbergman at redhat.com> ---
I tend to disagree with adding such a function (esp. to include/sal/mathconf.h,
which is part of the stable URE interface; esp. with adding it not conditional
on LIBO_INTERNAL_ONLY):  I think the very few cases that now use

  reinterpret_cast<sal_math_Double *>(X)->E

could just as well use something like

  sal_math_Double d;
  d.value = X;
  d.E

instead.

-- 
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/20201022/0a35aa22/attachment.htm>


More information about the Libreoffice-bugs mailing list