[all-commits] [llvm/llvm-project] 50ff49: Clang: ExprConstant use maxnum/minnum for fmax/fmi...

YunQiang Su via All-commits all-commits at lists.llvm.org
Mon Mar 3 20:27:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50ff49ebbcdc88301070e94b04cb158d040db276
      https://github.com/llvm/llvm-project/commit/50ff49ebbcdc88301070e94b04cb158d040db276
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp

  Log Message:
  -----------
  Clang: ExprConstant use maxnum/minnum for fmax/fmin (#129630)

In APFloat, we have defined maxnum and minnum, so let's use them
directly here.

In `maxnum`/`minnum` of APFloat, we process sNaN, signed-zero as
strictly as possible.



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