diff options
| author | Zhenming Lin <95759947+Zhenming-Lin@users.noreply.github.com> | 2025-10-07 02:45:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 11:45:51 -0700 |
| commit | 9bfd4c3017aa8ecc5e67e6432810af7457b51c0f (patch) | |
| tree | 4eac854e4c3628251736cc1c51531089684b7c17 /src/libs | |
| parent | 851ae9bb43251950ddab9775df0310370a4e2301 (diff) | |
| download | zig-9bfd4c3017aa8ecc5e67e6432810af7457b51c0f.tar.gz zig-9bfd4c3017aa8ecc5e67e6432810af7457b51c0f.zip | |
improve impl of `__sqrth`, `sqrtf`, `sqrt`, `__sqrtx` and `sqrtq` (#25416)
The previous version (ported from musl) used bit-by-bit calculations and was slow, but the current version (also ported from musl) uses lookup tables combined with Goldschmidt iterations to significantly improve the speed.
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions
