>>531
アルゴリズムが規定されてるので大丈夫でしょう。
マニュアルには
(See Donald Knuth, The Art of Computer Programming, Volume 2, Section 3.2.1.)
とあります。