summaryrefslogtreecommitdiffhomepage
path: root/test/assert.rb
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-07-27 18:49:22 +0900
committerdearblue <[email protected]>2019-07-27 21:25:18 +0900
commitfda5c0c073a0b7a2bbcfb37ddf735a2f04f9ea08 (patch)
tree58954d25c8989e14c8783ac40edd29e776a0ddb6 /test/assert.rb
parent2f0a95768b8753448eb819e1bd3d250b69844828 (diff)
downloadmruby-fda5c0c073a0b7a2bbcfb37ddf735a2f04f9ea08.tar.gz
mruby-fda5c0c073a0b7a2bbcfb37ddf735a2f04f9ea08.zip
Fix the lack of precision for `Time`; ref d74355061
- `Time.local` and `Time.utc` are able to use with `MRB_INT16 + MRB_WITHOUT_FLOAT`. - `time_t` is converted directly from the Ruby object. - `time + sec` and` time - sec` are not affected by the precision of `mrb_float`. Similarly, calculations are possible with `MRB_INT16 + MRB_WITHOUT_FLOAT`.
Diffstat (limited to 'test/assert.rb')
0 files changed, 0 insertions, 0 deletions