[llvm-branch-commits] [libc] [libc][math][c++23] Add fmodbf16 math function (PR #155575)

2025-08-28 Thread Krishna Pandey via llvm-branch-commits
@@ -165,10 +175,10 @@ class FmodTest : public LIBC_NAMESPACE::testing::FEnvSafeTest { TEST_SPECIAL(neg_sNaN, sNaN, aNaN, false, FE_INVALID); TEST_SPECIAL(neg_sNaN, neg_sNaN, aNaN, false, FE_INVALID); -TEST_SPECIAL(T(6.5), T(2.25), T(2.0), false, 0); -TEST_SPEC

[llvm-branch-commits] [libc] [libc][math][c++23] Add fmodbf16 math function (PR #155575)

2025-08-27 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 updated https://github.com/llvm/llvm-project/pull/155575 >From d7930ac1d1d79b0aaf197857abd77f64ab7f3679 Mon Sep 17 00:00:00 2001 From: Krishna Pandey Date: Wed, 27 Aug 2025 14:06:39 +0530 Subject: [PATCH 1/7] feat: implement fmodbf16 math function Signed-off-by:

[llvm-branch-commits] [libc] [libc][math][c++23] Add fmodbf16 math function (PR #155575)

2025-08-27 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 updated https://github.com/llvm/llvm-project/pull/155575 >From d7930ac1d1d79b0aaf197857abd77f64ab7f3679 Mon Sep 17 00:00:00 2001 From: Krishna Pandey Date: Wed, 27 Aug 2025 14:06:39 +0530 Subject: [PATCH 1/6] feat: implement fmodbf16 math function Signed-off-by:

[llvm-branch-commits] [libc] [libc][math][c++23] Add scalb{, l}nbf16 math functions (PR #155569)

2025-08-27 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 created https://github.com/llvm/llvm-project/pull/155569 This PR adds the following basic math functions for BFloat16 type along with the tests: - scalbnbf16 - scalblnbf16 >From b633a7651bfe97a3f23b911c4c28b39f28abe5c3 Mon Sep 17 00:00:00 2001 From: Krishna Pan

[llvm-branch-commits] [libc] [libc][math][c++23] Add totalorder{, mag}bf16 math functions (PR #155568)

2025-08-27 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 created https://github.com/llvm/llvm-project/pull/155568 This PR adds the following basic math functions for BFloat16 type along with the tests: - totalorderbf16 - totalordermagbf16 >From 204df3472901aba6382817f36b1f3d19e80d662a Mon Sep 17 00:00:00 2001 From: Kri

[llvm-branch-commits] [libc] [libc][math][c++23] Add {modf, remainder, remquo}bf16 math functions (PR #154652)

2025-08-24 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 updated https://github.com/llvm/llvm-project/pull/154652 >From fc5e2152b4c57238ed424138ca27de1635146ef5 Mon Sep 17 00:00:00 2001 From: Krishna Pandey Date: Wed, 20 Aug 2025 03:43:58 +0530 Subject: [PATCH 1/6] feat: implement {modf,remainder,remquo}bf16 math funct

[llvm-branch-commits] [libc] [libc][math][c++23] Add {frexp, ilogb, ldexp, llogb, logb}bf16 math functions (PR #154427)

2025-08-20 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 updated https://github.com/llvm/llvm-project/pull/154427 >From 832bbc6f4743015ef1af5e9d4a9aea4b94e73374 Mon Sep 17 00:00:00 2001 From: Krishna Pandey Date: Tue, 19 Aug 2025 22:13:40 +0530 Subject: [PATCH 1/6] feat: implement {frexp,ilogb,ldexp,llogb,logb}bf16 math

[llvm-branch-commits] [libc] [libc][math][c++23] Add {get, set}payloadbf16 and setpayloadsigbf16 math functions (PR #153994)

2025-08-16 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 created https://github.com/llvm/llvm-project/pull/153994 This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 >From 6f8d84d83beff959e838c70057f2e4bb29f0bc4c Mon Sep 17 00:00:

[llvm-branch-commits] [libc] [libc][math][c++23] Add nanbf16 math function (PR #153995)

2025-08-16 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 created https://github.com/llvm/llvm-project/pull/153995 This PR adds the nanbf16 basic math function for BFloat16 type along with the tests. >From ea9625e60eb47e205c8acb8d9f4cabcd1959c8e6 Mon Sep 17 00:00:00 2001 From: Krishna Pandey Date: Sun, 17 Aug 2025 08:4

[llvm-branch-commits] [libc] [libc][math][c++23] Add next{after, down, toward, up}bf16 math functions (PR #153993)

2025-08-16 Thread Krishna Pandey via llvm-branch-commits
https://github.com/krishna2803 created https://github.com/llvm/llvm-project/pull/153993 This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 >From 4a80312010e3adaff8873a40831e74d393a1d71c Mon Sep 17