[all-commits] [llvm/llvm-project] bcb7c3: [C23] Add INFINITY and NAN macros to <float.h> (#...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Wed Jul 3 04:24:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcb7c38af7de59f3b2201734ee11987839cd7bbe
      https://github.com/llvm/llvm-project/commit/bcb7c38af7de59f3b2201734ee11987839cd7bbe
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Headers/float.h
    M clang/test/Headers/float.c
    M clang/www/c_status.html

  Log Message:
  -----------
   [C23] Add INFINITY and NAN macros to <float.h> (#96659)

This is in support of WG14 N2848 which only define the macros if
an infinity or nan are supported. However, because we support builtins
that can produce an infinity or a NAN, and because we have pragmas
that control infinity or NAN behavior, we always define the macros even
if the user passed -ffinite-math-only on the command line.



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