Project

General

Profile

« Previous | Next »

Revision 01e27acb

Added by Jason Garber 6 days ago

[DOC] Clarify differences between Kernel.rand and Random.rand when given a Float max

  • [DOC] Clarify differences between Kernel.rand and Random.rand

  • Kernel.rand converts the max Float argument to Integer and returns Integer values

  • Random.rand preserves the max Float argument and returns Float values

  • Added examples demonstrating the behavioral differences

Loading...

AltStyle によって変換されたページ (->オリジナル) /