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

David Lynch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |k

--- Comment #3 from David Lynch <[email protected]> ---
The ODF documentation copied below (ver 1.2) seems to imply that there is no
scope for comparisons via raw equality (equals sign) to be variable:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
6.4.7 Infix Operator "="

Summary: Report if two values are equal

Syntax: Scalar Left = Scalar Right

Returns: Logical

Constraints: None

Semantics: Returns TRUE if two values are equal. If the values differ in type,
return FALSE. If the values are both Number, return TRUE if they are considered
equal, else return FALSE. If they are both Text, return TRUE if the two values
match, else return FALSE. For Text values, if the calculation setting
HOST-CASE-SENSITIVE is false, text is compared but characters differencing only
in case are considered equal. If they are both Logicals, return TRUE if they
are identical, else return FALSE. Error values cannot be compared to a constant
Error value to determine if that is the same Error value.

Evaluators may approximate and test equality of two numeric values with an
accuracy of the magnitude of the given values scaled by the number of available
bits in the mantissa, ignoring some least significant bits and thus providing
compensation for not exactly representable values.

The result of “1=TRUE()” is FALSE for evaluators that implement a distinct
Logical type and TRUE if they don't. 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
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