diff options
| author | Sean <69403556+SeanTheGleaming@users.noreply.github.com> | 2024-03-29 05:33:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-29 09:33:57 +0000 |
| commit | a2df84d0ffe3b7bce96f55a5d7063630aac75116 (patch) | |
| tree | b4ce817da6d3edf99422ebbcf72eb30540f6f4ea /lib/std/Thread | |
| parent | 2d443cdabf4fc3af8f325adc4b9a96c1f41005f0 (diff) | |
| download | zig-a2df84d0ffe3b7bce96f55a5d7063630aac75116.tar.gz zig-a2df84d0ffe3b7bce96f55a5d7063630aac75116.zip | |
std.math: rework modf
- Changed `modf_result` to `Modf` to better fit naming conventions
- Reworked `modf` to be far simpler and support all floating point types (as well as vectors) (I have done benchmarks and can confirm that the performance is roughly equivalent to the old implementation)
- Added more descriptive tests for modf
- Deprecated `modf32_result` and `modf64_result` in favor of `Modf(f32)` and `Modf(f64)` respectively
Diffstat (limited to 'lib/std/Thread')
0 files changed, 0 insertions, 0 deletions
