0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/c
mihael 764760df62 libzigc/math: Implement rintl, lrintl (#31791)
It's a fairly straightforward port of `musl`'s `rintl`, like `rint` and `rintf` were. `libc-test` tests for `rintl` are uncommented since they're now passing.

I've also covered special cases for `rint` with tests, and broke down the current `rint` and `modf` test declarations into multiple -- so each libc function get its own test declaration at the very least.

Contributes to #30978

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31791
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
History 2026-04-27 16:48:55 +02:00
..
stdlib libzigc: move all unit tests from lib/c/ to test/c/ 2026-04-17 12:10:37 +02:00
sys zig libc: simplify implementation 2026-02-11 07:58:11 +01:00
ctype.zig zig libc: simplify implementation 2026-02-11 07:58:11 +01:00
fcntl.zig ziglibc: migrate tee linux syscall (#31911) 2026-04-18 07:30:43 +02:00
inttypes.zig libzigc: move all unit tests from lib/c/ to test/c/ 2026-04-17 12:10:37 +02:00
malloc.zig libc malloc: introduce a canary 2026-02-14 09:25:41 +01:00
math.zig libzigc/math: Implement rintl, lrintl (#31791) 2026-04-27 16:48:55 +02:00
pthread.zig feat(libzigc): add common implementations of pthread_spin_* 2026-04-21 09:03:06 +02:00
search.zig libzigc: move all unit tests from lib/c/ to test/c/ 2026-04-17 12:10:37 +02:00
stdlib.zig zigc: test and fix strtol and similar 2026-04-22 19:30:39 +02:00
string.zig libc: strdup, strndup, wcsdup (#31935) 2026-04-22 01:57:58 +02:00
strings.zig libzigc: move all unit tests from lib/c/ to test/c/ 2026-04-17 12:10:37 +02:00
stropts.zig libzigc: stropts/isastream 2026-04-02 15:13:39 +02:00
unistd.zig libzigc: dup2 and dup3 2026-04-17 23:13:39 +02:00
wchar.zig libc: strdup, strndup, wcsdup (#31935) 2026-04-22 01:57:58 +02:00