diff options
author | Krishna Pandey <47917477+krishna2803@users.noreply.github.com> | 2025-04-25 17:28:16 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-25 07:58:16 -0400 |
commit | 5ff277462dd717d0c52a9a8517f624b0b484e45a (patch) | |
tree | 4d57247a464956f7819509590aca8cf9185fb020 /clang/lib/Frontend/ASTMerge.cpp | |
parent | 2dc6e98169baeb1f73036da0ea50fd828d8323d0 (diff) | |
download | llvm-5ff277462dd717d0c52a9a8517f624b0b484e45a.zip llvm-5ff277462dd717d0c52a9a8517f624b0b484e45a.tar.gz llvm-5ff277462dd717d0c52a9a8517f624b0b484e45a.tar.bz2 |
[libc][stdfix] Implement `idivfx` functions in LLVM libc (#133005)
This PR implements the following 8 functions along with the tests.
```c++
int idivr(fract, fract);
long int idivlr(long fract, long fract);
int idivk(accum, accum);
long int idivlk(long accum, long accum);
unsigned int idivur(unsigned fract, unsigned fract);
unsigned long int idivulr(unsigned long fract, unsigned long fract);
unsigned int idivuk(unsigned accum, unsigned accum);
unsigned long int idivulk(unsigned long accum, unsigned long accum);
```
ref: https://www.iso.org/standard/51126.html
Fixes #129125
---------
Signed-off-by: krishna2803 <kpandey81930@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions