0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
mihael 0141787257
libzigc: implement modff
`modf` function was generalized and renamed to `modfGeneric`, `modf` and
`modff` provide the appropriate type while calling that function. The
unit tests were also generalized so they can be reused for different
float types.

Both `modf` and `modff` were tested after making these changes:
```
$ stage4/bin/zig build test-libc -Dlibc-test-path=<LIBC-TEST-PATH> -Dtest-filter=modf -fqemu -fwasmtime --summary line
Build Summary: 921/921 steps succeeded
```

```
stage4/bin/zig build test-libc -Dlibc-test-path=<LIBC-TEST-PATH> -Dtest-filter=modff -fqemu -fwasmtime --summary line
Build Summary: 369/369 steps succeeded
```
History 2026-03-17 23:33:10 +01:00
..
build-web fuzzer ui: remove wrong optimized float mode 2026-03-11 21:26:00 -04:00
c libzigc: implement modff 2026-03-17 23:33:10 +01:00
compiler zig build fmt 2026-03-12 17:44:03 -04:00
compiler_rt compiler_rt: optimize udivmod large-divisor case with trial quotient 2026-03-05 20:22:19 +01:00
docs Revert "Fix #20283" 2026-03-08 18:41:21 -07:00
include remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
init rework fuzz testing to be smith based 2026-02-13 22:12:19 -05:00
libc libzigc: implement modff 2026-03-17 23:33:10 +01:00
libcxx libcxx: use compiler's _LIBCPP_HAS_LIBRARY_ALIGNED_ALLOCATION when set 2025-11-14 02:02:59 +01:00
libcxxabi remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libtsan remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
libunwind remove all IBM AIX and z/OS support 2025-10-29 14:25:51 +01:00
std feat: remove kernel32.CreateThread, implement ntdll.NtCreateThreadEx inside WindowsThreadImpl (#31519) 2026-03-17 23:06:55 +01:00
c.zig libzigc: posix_{fadvise, fallocate}, fallocate 2026-03-14 22:04:43 +01:00
compiler_rt.zig std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
fuzzer.zig libfuzzer: use error.SkipZigTest 2026-03-11 21:14:46 -04:00
ubsan_rt.zig std: different mechanism for disabling network dependency 2026-03-08 19:20:34 -07:00
zig.h cbe: fix type layouts, and statically assert them 2026-03-10 10:26:15 +00:00