[all-commits] [llvm/llvm-project] 88ff60: APFloat: Fix maxnum and minnum with sNaN (#112854)

YunQiang Su via All-commits all-commits at lists.llvm.org
Wed Feb 26 22:16:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88ff6070a5211e0eebe9b614efbeae8082866d1a
      https://github.com/llvm/llvm-project/commit/88ff6070a5211e0eebe9b614efbeae8082866d1a
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/unittests/ADT/APFloatTest.cpp

  Log Message:
  -----------
  APFloat: Fix maxnum and minnum with sNaN (#112854)

See: https://github.com/llvm/llvm-project/pull/112852
Fixes: https://github.com/llvm/llvm-project/issues/111991

We have reclarify llvm.maxnum and llvm.minnum to follow IEEE-754 2008's
maxNum and minNum with +0.0>-0.0.
So let's make APFloat::maxnum and APFloat::minnum to follow it, too.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list