http://openoffice.org/bugzilla/show_bug.cgi?id=73511





--- Comment #7 from [email protected]  2011-03-01 18:38:01 ---
Created an attachment (id=75960)
 --> (http://openoffice.org/bugzilla/attachment.cgi?id=75960)
Corrected algorithm of the functions Randomize and Rnd.

Corrected algorithm operates in full accordance with the description of the
functions Randomize and Rnd in the Help OOo.

Rnd () - Fixed a bug with range of functions - [0 .. 1). Result 1. has been
excluded from output range.

Processing parameters of Rnd()

Rnd (-1) generates the same number belonging to the pseudo-random sequence.
Rnd (0) returns the last generated number.
Rnd (), Rnd (x> 0) returns the next number in the pseudorandom sequence.

Randomize () initiates a new pseudo-random sequence.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: 
help
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: help

Reply via email to