<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:Srirupa.ceb@gmail.com" title="Srirupa <Srirupa.ceb@gmail.com>"> <span class="fn">Srirupa</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unary minus ('-') precedence"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128870">bug 128870</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unary minus ('-') precedence"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128870#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unary minus ('-') precedence"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128870">bug 128870</a>
              from <span class="vcard"><a class="email" href="mailto:Srirupa.ceb@gmail.com" title="Srirupa <Srirupa.ceb@gmail.com>"> <span class="fn">Srirupa</span></a>
</span></b>
        <pre>Hi
Thank you for reporting the issue.I can confirm that the issue is present in
the below version.

Version: 6.3.2.2
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 4; OS: Mac OS X 10.13.4; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

The below VBA macro in Libre gives the result as 0.25 , whereas in MS Excel it
gives the result as -0.25 

REM  *****  BASIC  *****

Sub Main
DIM Variable_One As Double
Variable_One=-(1#/2)^2
MsgBox Variable_One
End Sub

Thanks
Srirupa</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>