aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/musl/src/math
AgeCommit message (Collapse)Author
2025-08-28libc: delete superfluous c and assembly trunc implementationsDavid Senoner
2025-08-28libc: delete superfluous c and assembly ceil implementationDavid Senoner
2025-08-27libc: remove c floorl implementaions forgotten in #24335David Senoner
2025-07-04delete superfluous assembly libc floor implementationsDavid Senoner
2025-07-04delete superfluous libc floor implementationsDavid Senoner
2025-05-30libc: replace musl's trigonometric functions with compiler_rt'sKoki Ueha
- sin - sinf - cos - cosf - sincos - sincosf - tan - tanf
2025-05-21libc: implement common `abs` for various integer sizes (#23893)David
* libc: implement common `abs` for various integer sizes * libc: move imaxabs to inttypes.zig and don't use cInclude * libc: delete `fabs` c implementations because already implemented in compiler_rt * libc: export functions depending on the target libc Previously all the functions that were exported were handled equally, though some may exist and some not inside the same file. Moving the checks inside the file allows handling different functions differently * remove empty ifs in inttypes Co-authored-by: Alex Rønne Petersen <alex@alexrp.com> * remove empty ifs in stdlib Co-authored-by: Alex Rønne Petersen <alex@alexrp.com> * libc: use `@abs` for the absolute value calculation --------- Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
2024-06-04update musl source files to v1.2.5Andrew Kelley
adds loongarch64 and riscv32
2023-06-20musl: update src files to v1.2.4Andrew Kelley
2022-05-04musl: update to 1.2.3Isaac Freund
This was a bit trickier than it should be due to symbol conflicts with zig's compiler-rt implementation. We attempt to use weak linkage in our compiler-rt, but this does not seem to be working in all cases. I manually disabled export of the problematic compiler-rt math functions in order to cross compile musl's libc.so for all targets as input to `tools/gen_stubs.zig`. Other than that, this update went fairly smoothly. Quite a few additional symbols were added to the blacklist in `tools/gen_stubs.zig` due to recent reorganization of zig's compiler-rt.
2021-02-10musl: update to 1.2.2Isaac Freund
2020-11-06update musl sources to 1.2.1Andrew Kelley
2020-03-12update musl src files to v1.2.0Andrew Kelley
2019-10-17update musl src to v1.1.24Andrew Kelley
2019-07-16update bundled musl source to 1.1.23Andrew Kelley
2019-07-15move lib dirs to lib subdirAndrew Kelley
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging