mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
2031ae9f90
rand_range_float() incorrectly added +1.0 to span for inclusive ranges, logic copied from integer range handling. For float ranges, the span should simply be end-begin without adjustment. Fixes #6720. Co-authored-by: Claude <noreply@anthropic.com>