| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc][math] Refactor exp2m1f16 implementation to header-only in src/__support/math folder. (#162019) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 8 个月前 | |
[libc][math] Refactor acos implementation to header-only in src/__support/math folder. (#148409) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor acosf implementation to header-only in src/__support/math folder. (#148411) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor acosf16 implementation to header-only in src/__support/math folder. (#148412) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor coshf implementation to header-only in src/__support/math folder. (#153427) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor acoshf16 implementation to header-only in src/__support/math folder. (#148568) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor acospif16 implementation to header-only in src/__support/math folder. (#148574) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor asin implementation to header-only in src/__support/math folder. (#148578) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor asinf implementation to header-only in src/__support/math folder. (#150697) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor asinf16 implementation to header-only in src/__support/math folder. (#150800) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor asinhf implementation to header-only in src/__support/math folder. (#150843) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor asinhf16 implementation to header-only in src/__support/math folder. (#150849) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
| 9 个月前 | ||
[libc][math] Refactor atan implementation to header-only in src/__support/math folder. (#150852) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor atan2 implementation to header-only in src/__support/math folder. (#150968) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor atan2f implementation to header-only in src/__support/math folder. (#150993) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor atan2f128 implementation to header-only in src/__support/math folder. (#151012) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] fix atan2l build failure. (#151413) | 11 个月前 | |
[libc][math] Refactor atanf implementation to header-only in src/__support/math folder. (#150854) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor atanf16 implementation to header-only in src/__support/math folder. (#150868) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor atanhf implementation to header-only in src/__support/math folder. (#151399) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor atanhf16 implementation to header-only in src/__support/math folder. (#151779) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math][c23] Implement C23 math function atanpif16 (#150400) This PR implements atanpif16(x) which computes $\frac{\arctan(x)}{\pi}$ for half-precision floating-point numbers using polynomial approximation with domain reduction. ## Mathematical Implementation The implementation uses a 15th-degree Taylor polynomial expansion of $\frac{\arctan(x)}{\pi}$ that's computed using [python-sympy](https://www.sympy.org/en/index.html) and it's accurate in $|x| \in [0, 0.5)$: $$ g(x) = \frac{\arctan(x)}{\pi} \approx \begin{aligned}[t] & 0.318309886183791x \\ & - 0.106103295394597x^3 \\ & + 0.0636619772367581x^5 \\ & - 0.0454728408833987x^7 \\ & + 0.0353677651315323x^9 \\ & - 0.0289372623803446x^{11} \\ & + 0.0244853758602916x^{13} \\ & - 0.0212206590789194x^{15} + O(x^{17}) \end{aligned} $$ --- To ensure accuracy across all real inputs, the domain is divided into three cases with appropriate transformations: **Case 1: $|x| \leq 0.5$** Direct polynomial evaluation: $$\text{atanpi}(x) = \text{sign}(x) \cdot g(|x|)$$ **Case 2: $0.5 < |x| \leq 1$** Double-angle reduction using: $$\arctan(x) = 2\arctan\left(\frac{x}{1 + \sqrt{1 + x^2}}\right)$$ $$\text{atanpi}(x) = \text{sign}(x) \cdot 2g\left(\frac{|x|}{1 + \sqrt{1 + x^2}}\right)$$ **Case 3: $|x| > 1$** Reciprocal transformation using $$\arctan(x) = \frac{\pi}{2} - \arctan\left(\frac{1}{x}\right) \ \text{for} \ x \gt 0$$ $$\text{atanpi}(x) = \text{sign}(x) \cdot \left(\frac{1}{2} - g\left(\frac{1}{|x|}\right)\right)$$ Closes #132212 | 10 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Refactor cbrt implementation to header-only in src/__support/math folder. (#151837) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cbrtf implementation to header-only in src/__support/math folder. (#151846) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add floating-point cast independent of compiler runtime (#105152) Fixes build and tests with compiler-rt on x86. | 1 年前 | |
| 2 年前 | ||
[libc][math] Optimize copysign{,f,f16} and fabs{,f,f16} with builtins when available (#99037) | 1 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize copysign{,f,f16} and fabs{,f,f16} with builtins when available (#99037) | 1 年前 | |
| 2 年前 | ||
[libc][math] Optimize copysign{,f,f16} and fabs{,f,f16} with builtins when available (#99037) | 1 年前 | |
| 2 年前 | ||
[libc][math] Refactor cos implementation to header-only in src/__support/math folder. (#151883) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf implementation to header-only in src/__support/math folder. (#152069) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf16 implementation to header-only in src/__support/math folder. (#152871) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor coshf implementation to header-only in src/__support/math folder. (#153427) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cospif implementation to header-only in src/__support/math folder. (#154215) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cospif16 implementation to header-only in src/__support/math folder. (#154222) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math][c23] Add dadd{l,f128} and ddiv{l,f128} C23 math functions (#100456) - fadd removed because I need to add for different input types - finishing rest of basic operations - noticed duplicates will remove --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc] Undo accidental changes to dsubl that were leftoever | 1 年前 | |
[libc][math][c23] Add dadd{l,f128} and ddiv{l,f128} C23 math functions (#100456) - fadd removed because I need to add for different input types - finishing rest of basic operations - noticed duplicates will remove --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ddivl C23 math function. (#102468) | 1 年前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for dsqrt{l,f128} (#99815) | 1 年前 | |
[libc][math] Refactor dsqrtl implementation to header-only in src/__support/math folder. (#154868) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 10 个月前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc] Undo accidental changes to dsubl that were leftoever | 1 年前 | |
[libc][math] Refactor erff implementation to header-only in src/__support/math folder. (#148413) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
| 1 年前 | ||
[libc][math] Refactor exp10 implementation to header-only in src/__support/math folder. (#148400) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor exp10f implementation to header-only in src/__support/math folder. (#148405) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor exp10f16 implementation to header-only in src/__support/math folder. (#148408) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor exp10m1f implementation to header-only in src/__support/math folder. (#159897) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp10m1f16 implementation to header-only in src/__support/math folder. (#161119) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2f implementation to header-only in src/__support/math folder. (#161992) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2f16 implementation to header-only in src/__support/math folder. (#161993) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2m1f implementation to header-only in src/__support/math folder. (#162017) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2m1f16 implementation to header-only in src/__support/math folder. (#162019) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 8 个月前 | |
[libc][math] Refactor expf implementation to header-only in src/__support/math folder. (#143790) This is a step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor expf16 implementation to header-only in src/__support/math folder. (#147428) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Optimize copysign{,f,f16} and fabs{,f,f16} with builtins when available (#99037) | 1 年前 | |
[libc][math][c++23] Add fabsbf16 math function (#148398) This PR implements fabsbf16 math function for BFloat16 type along with the tests. --------- Signed-off-by: krishna2803 <kpandey81930@gmail.com> Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math] Optimize copysign{,f,f16} and fabs{,f,f16} with builtins when available (#99037) | 1 年前 | |
| 2 年前 | ||
[libc][math] Optimize copysign{,f,f16} and fabs{,f,f16} with builtins when available (#99037) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add fadd{l,f128} C23 math functions (#102531) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fadd{l,f128} C23 math functions (#102531) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fadd{l,f128} C23 math functions (#102531) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add floating-point cast independent of compiler runtime (#105152) Fixes build and tests with compiler-rt on x86. | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add fmaf16 C23 math function. (#130757) Implementation of fmaf16 function for 16-bit inputs. | 1 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}bf16 math functions (#152782) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}bf16 math functions (#152782) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add fmodbf16 math function (#155575) This PR adds fmodbf16 basic math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc] Provide more fine-grained control of FMA instruction for ARM targets. (#130700) | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Refactor frexpf implementation to header-only in src/__support/math folder. (#147893) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor frexpf128 implementation to header-only in src/… (#147822) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor frexpf16 implementation to header-only in src/__support/math folder. (#147889) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669) | 2 年前 | |
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669) | 2 年前 | |
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669) | 2 年前 | |
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285) | 1 年前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285) | 1 年前 | |
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285) | 1 年前 | |
| 2 年前 | ||
[libc][math] Add getpayloadl function. (#102214) | 1 年前 | |
| 2 年前 | ||
[libc] Provide more fine-grained control of FMA instruction for ARM targets. (#130700) | 1 年前 | |
[libc][math] Do not use float16 basic operations in hypotf16. (#155177) Compiler runtimes for float16 basic operations might not be correctly rounded for all rounding modes. | 11 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] undef iscanonical before defining it using LLVM_LIBC_FUNCTION macro (#110865) It appears that #110565 fails because the macro definition of iscanonical is included somewhere. This PR ensures that the macro expands correctly and also removes the static_cast because implicit conversion from bool to int is defined in C++. | 1 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] undef iscanonical before defining it using LLVM_LIBC_FUNCTION macro (#110865) It appears that #110565 fails because the macro definition of iscanonical is included somewhere. This PR ensures that the macro expands correctly and also removes the static_cast because implicit conversion from bool to int is defined in C++. | 1 年前 | |
[libc][math] undef iscanonical before defining it using LLVM_LIBC_FUNCTION macro (#110865) It appears that #110565 fails because the macro definition of iscanonical is included somewhere. This PR ensures that the macro expands correctly and also removes the static_cast because implicit conversion from bool to int is defined in C++. | 1 年前 | |
[libc][math] undef iscanonical before defining it using LLVM_LIBC_FUNCTION macro (#110865) It appears that #110565 fails because the macro definition of iscanonical is included somewhere. This PR ensures that the macro expands correctly and also removes the static_cast because implicit conversion from bool to int is defined in C++. | 1 年前 | |
[libc][math] undef iscanonical before defining it using LLVM_LIBC_FUNCTION macro (#110865) It appears that #110565 fails because the macro definition of iscanonical is included somewhere. This PR ensures that the macro expands correctly and also removes the static_cast because implicit conversion from bool to int is defined in C++. | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Fix issignaling macro usage in the implementation. (#112235) | 1 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Fix issignaling macro usage in the implementation. (#112235) | 1 年前 | |
[libc][math] Fix issignaling macro usage in the implementation. (#112235) | 1 年前 | |
[libc][math] Fix issignaling macro usage in the implementation. (#112235) | 1 年前 | |
[libc][math] Fix issignaling macro usage in the implementation. (#112235) | 1 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Refactor ldexpf implementation to header-only in src/__support/math folder (#147906) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 Please merge #147901 first @lntue | 1 年前 | |
[libc][math] Refactor ldexpf128 implementation to header-only in src/__support/math folder. (#147895) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math] Refactor ldexpf16 implementation to header-only in src/__support/math folder. (#147901) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 Please merge #147895 first | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math][c++23] Add log_bf16 math function (#157811) This PR adds log_bf16 higher math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {modf,remainder,remquo}bf16 math functions (#154652) This PR adds the following basic math functions for BFloat16 type along with the tests: - modfbf16 - remainderbf16 - remquobf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc][math][c++23] Add nanbf16 math function (#153995) This PR adds the nanbf16 basic math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
[libc] Move libc_errno.h to libc/src/__support and make LIBC_ERRNO_MODE_SYSTEM to be header-only. (#143187) This is the first step in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 1 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Refactor exp2 implementation to header-only in src/__support/math folder. (#161297) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
[libc][math] Refactor exp2f implementation to header-only in src/__support/math folder. (#161992) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 9 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {modf,remainder,remquo}bf16 math functions (#154652) This PR adds the following basic math functions for BFloat16 type along with the tests: - modfbf16 - remainderbf16 - remquobf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {modf,remainder,remquo}bf16 math functions (#154652) This PR adds the following basic math functions for BFloat16 type along with the tests: - modfbf16 - remainderbf16 - remquobf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add floating-point cast independent of compiler runtime (#105152) Fixes build and tests with compiler-rt on x86. | 1 年前 | |
| 2 年前 | ||
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add floating-point cast independent of compiler runtime (#105152) Fixes build and tests with compiler-rt on x86. | 1 年前 | |
| 2 年前 | ||
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add floating-point cast independent of compiler runtime (#105152) Fixes build and tests with compiler-rt on x86. | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add rsqrtf() function (#159615) Closes #159614 **Changes:** - Initial implementation of rsqrt for single precision float **Some small unrelated style changes to this PR (that I missed in my rsqrtf16 PR):** - Added extra - to the top comments to make it look nicer in libc/shared/math/rsqrtf16.h - Put rsqrtf16 inside of libc/src/__support/math/CMakeLists.txt in sorted order - Rearanged libc_math_function rsqrtf16 in Bazel to match alphabetical order | 9 个月前 | |
| 10 个月前 | ||
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c++23] Add scalb{,l}nbf16 math functions (#155569) This PR adds the following basic math functions for BFloat16 type along with the tests: - scalbnbf16 - scalblnbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add scalb{,l}nbf16 math functions (#155569) This PR adds the following basic math functions for BFloat16 type along with the tests: - scalbnbf16 - scalblnbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122) | 1 年前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math] Refactor cos implementation to header-only in src/__support/math folder. (#151883) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cos implementation to header-only in src/__support/math folder. (#151883) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf implementation to header-only in src/__support/math folder. (#152069) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Add float-only implementation for sinf / cosf. (#161680) Based on the double precision's sin/cos fast path algorithm: Step 1: Perform range reduction y = x mod pi/8 with target errors < 2^-54. This is because the worst case mod pi/8 for single precision is ~2^-31, so to have up to 1 ULP errors from the range reduction, the targeted errors should be 2^(-31 - 23) = 2^-54. Step 2: Polynomial approximation We use degree-5 and degree-4 polynomials to approximate sin and cos of the reduced angle respectively. Step 3: Combine the results using trig identities math \begin{align*} \sin(x) &= \sin(y) \cdot \cos(k \cdot \frac{\pi}{8}) + \cos(y) \cdot \sin(k \cdot \frac{\pi}{8}) \\ \cos(x) &= \cos(y) \cdot \cos(k \cdot \frac{\pi}{8}) - \sin(y) \cdot \sin(k \cdot \frac{\pi}{8}) \end{align*} Overall errors: <= 3 ULPs for default rounding modes (tested exhaustively). Current limitation: large range reduction requires FMA instructions for binary32. This restriction will be removed in the followup PR. --------- Co-authored-by: Petr Hosek <phosek@google.com> | 9 个月前 | |
[libc][math] Refactor cosf16 implementation to header-only in src/__support/math folder. (#152871) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor coshf implementation to header-only in src/__support/math folder. (#153427) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf implementation to header-only in src/__support/math folder. (#152069) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf16 implementation to header-only in src/__support/math folder. (#152871) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add sqrtbf16 math function (#156654) This PR adds sqrtbf16 higher math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
| 2 年前 | ||
[libc][math] Fix sqrtf128 implicit conversions. (#127154) This fixes rv32 buildbot failure from https://github.com/llvm/llvm-project/pull/122578 | 1 年前 | |
| 1 年前 | ||
| 2 年前 | ||
[libc][math] Refactor cos implementation to header-only in src/__support/math folder. (#151883) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf implementation to header-only in src/__support/math folder. (#152069) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf16 implementation to header-only in src/__support/math folder. (#152871) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor coshf implementation to header-only in src/__support/math folder. (#153427) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor coshf16 implementation to header-only in src/__support/math folder. (#153582) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf implementation to header-only in src/__support/math folder. (#152069) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math] Refactor cosf16 implementation to header-only in src/__support/math folder. (#152871) Part of #147386 in preparation for: https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450 | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593) | 1 年前 | |
[libc][math][c++23] Add totalorder{,mag}bf16 math functions (#155568) This PR adds the following basic math functions for BFloat16 type along with the tests: - totalorderbf16 - totalordermagbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add totalorderl function. (#102564) | 1 年前 | |
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
[libc][math][c++23] Add totalorder{,mag}bf16 math functions (#155568) This PR adds the following basic math functions for BFloat16 type along with the tests: - totalorderbf16 - totalordermagbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Optimize nearest integer functions using builtins when available (#98376) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add floating-point cast independent of compiler runtime (#105152) Fixes build and tests with compiler-rt on x86. | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 9 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 |