tiny.simd.round
Defined in floating.
Source
Source: lib/simd/src/floating.zig:50
zig
pub fn round(comptime D: type, value: D.Vector) D.Vector { requireFloat(D.Lane, "round"); var result: D.Vector = undefined; inline for (0..D.lane_count) |index| { result[index] = roundEvenScalar(D.Lane, value[index]); } return result;}Source: lib/simd/src/root.zig:368
zig
pub const round = floating.round;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |