[all-commits] [llvm/llvm-project] c689c1: [libc] Add compound assignment operator overloads ...

Zorojuro via All-commits all-commits at lists.llvm.org
Wed Jun 3 06:47:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c689c165ba2723285258975a14cd562d41d059ab
      https://github.com/llvm/llvm-project/commit/c689c165ba2723285258975a14cd562d41d059ab
  Author: Zorojuro <sawantsukumar at gmail.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M libc/src/__support/FPUtil/bfloat16.h
    M libc/test/src/__support/FPUtil/bfloat16_test.cpp

  Log Message:
  -----------
  [libc] Add compound assignment operator overloads for BFloat16 (#201301)

The current Bfloat16 has normal operator overloads `+` , `-` , `=`,
`!=`, `*`, & `/`.
Later during a function failure `*=` was added in
https://github.com/llvm/llvm-project/pull/182882
For completeness the rest of the operators: `/=`, `+=`, `-=` are added 
These are added along with some smoke test .



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