title: why abs() function in dart return negative number when not wrapped in parenthesis?
body: <p>The <code>abs()</code> function has no effect When calling on negative number literal.</p>
  
  <p><code>var y = -123.11.abs(); // prints -123.11</code> </p>
  
  <p>but other functions, for example <code>floor()</code> works fine</p>
  
  <p><code>var y = -123.11.floor(); // prints -123</code></p>
  
  <p>If I wrap the negative number literal in parenthesis it works fine</p>
  
  <p><code>var y = (-123.11).abs(); // prints 123.11</code> </p>
  
  <p>Any help to understand this behaviour is appreciated.</p>
  
  <p>The dart version I use is <code>Dart VM version: 2.2.1-dev.0.0.flutter-571ea80e11 (Mon Mar 4 19:30:53 2019 +0000) on "windows_x64"</code></p>
  
  <p><strong>Update:</strong>
  Note: the <code>floor()</code> does not work correctly when applied on negative number as pointed by @HighPerformanceMark</p>