1. 15 Oct, 2020 16 commits
  2. 14 Oct, 2020 23 commits
  3. 13 Oct, 2020 1 commit
    • Ng Zhi An's avatar
      Implement Min and Max using std::min and std::max · c90ff8bd
      Ng Zhi An authored
      The existing implementation gives different results for certain floating
      points values from std::min and std::max. This patch makes it the same,
      so it is less surprising.
      
      Took a quick look at some usages for Min and Max, they are all integral
      types, so this wouldn't change any behavior.
      
      Min and Max has been in the code base right from the initial import,
      and I'm not sure why we needed it, since it should simply be
      std::min/std::max. With C++14, std::min and std::max are constexpr,
      so this change is also fine.
      
      Change-Id: If8ec53bedff3ef336aa21b082f1a16ce716b8f87
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2464146Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
      Commit-Queue: Zhi An Ng <zhin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70494}
      c90ff8bd