diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-02 00:12:29 -0800 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-02 00:17:41 -0800 |
| commit | a47d6c256ff684392f00516a917735a14aec64b0 (patch) | |
| tree | 7456c44c7864e046a0e905988178ef939480dc93 /spec/ruby/core/array | |
| parent | 1a88adcd75d92cb36ef5b1d5f4aeb40e6fe4dcb7 (diff) | |
Fix random failure on getusage-missing environments
`* 1e6` makes a spurious result about floating point number's precision.
```
irb(main)[01:0]> 16.028
=> 16.028
irb(main)[02:0]> (16.028 * 1e6)
=> 16027999.999999998
```
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions
