To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=71158


User dridgway changed the following:

                What    |Old value                 |New value
================================================================================
          Ever confirmed|                          |1
--------------------------------------------------------------------------------
                  Status|UNCONFIRMED               |NEW
--------------------------------------------------------------------------------
                Keywords|                          |oooqa
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Jan  1 17:03:11 -0800 
2007 -------
Excel's documentation for GCD() states that Excel truncates to integers before
applying, this approach makes sense to me. 

Zero shouldn't be the answer unless both a and b are zero: see
http://en.wikipedia.org/wiki/Greatest_common_divisor.

Excel also fails on negative integers, but GCD seems well defined for negative
integers. However, Calc will return negative results sometimes; I'm not sure
that's a good idea. I'd suggest always returning the positive GCD, regardless of
the signs of the arguments.

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