<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Simplify uses of sal_math_Double"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130981">130981</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Simplify uses of sal_math_Double
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>difficultyBeginner, easyHack, skillCpp, topicCleanup
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mikekaganski@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>sbergman@redhat.com
</td>
</tr></table>
<p>
<div>
<pre>We have a helper union sal_math_Double (defined in include/sal/mathconf.h) to
help low-level access to double parts. It already has a member "value" of type
double, representing the resulting value.
Throughout the code, the union is sometimes used inside other unions along with
a double member, duplicating the already present "value". See e.g.
sc/source/filter/oox/biffhelper.cxx and include/rtl/math.hxx. These usages may
be simplified to avoid these extra unions (and e.g. drop DecodedDouble
completely from sc/source/filter/oox/biffhelper.cxx).
So the task is to look through all the uses of the union, and simplify those
unnecessary complications.</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>