• dearblue's avatar
    Fix the lack of precision for `Time`; ref d7435506 · fda5c0c0
    dearblue authored
      - `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`.
    fda5c0c0
time.c 27.4 KB