https://bugs.freedesktop.org/show_bug.cgi?id=60671

Eike Rathke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG
                 CC|                            |[email protected]

--- Comment #2 from Eike Rathke <[email protected]> ---
Comparison operators are defined to be left-associative, so calculating (a<b)<c
for a<b<c is correct. This is similar to a-b-c being calculated as (a-b)-c, you
would not expect the result to be a-(b-c)
See also
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part2.html#Operators

Note that in spreadsheet context the expression =a<b<c is not meaningful, the
result is implementation-defined and depends on whether a boolean result is
converted to an integer or not, and if it is not converted then the 2nd-step
comparison depends on whether a boolean is sorted before an integer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to