To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68072
                 Issue #|68072
                 Summary|Undefined behaviour when custom shape expression divid
                        |es by zero
               Component|Drawing
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|sj
             Reported by|thb





------- Additional comments from [EMAIL PROTECTED] Wed Aug  2 03:53:12 -0700 
2006 -------
While fixing issue 66244, a code review turned up that calling
EnhancedCustomShape2d:GetEquationValueAsDouble() might return NANs, which are
later assigned to/calculated with integers. The result is undefined, and in fact
varies between e.g. Linux and Windows.

I'd suggest normalizing the result of GetEquationValueAsDouble() somehow, or
avoid dividing by zero in the first place (within the expression nodes). But
I've no idea what a sensible default might be...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to