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





------- Additional comments from [EMAIL PROTECTED] Sun Jul 17 15:00:43 -0700 
2005 -------
Compile the test program by

  g++ -o poisson poisson.cpp

and run it with two arguments like

  ./poisson 150 120

You should then get an output like

  $ ./poisson 150 120
  old: inf
  new: 1.01147619891597513944e-03

Or, just run it with no arguments

  ./poisson

and, if all goes well, you should see an output like this one

  $ ./poisson
  max difference: 9.02056207507939689094e-17
  number of non-equal results: 0

which tells you that the largest numerical difference between the old and new
algorithms for computing a poisson variable for x = 0 - 140; lambda = 0 - 140 is
9.020e-17, and all computed variables are within the binary float-points
rounding error (using rtl::math::approxEqual() function).

Kohei

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