Reorganize and fix

This commit is contained in:
2026-01-04 22:43:44 +01:00
parent 7e8103565d
commit e019470687
15 changed files with 270 additions and 256 deletions

View File

@@ -155,7 +155,7 @@ pub const Complex_x8 = struct {
}
pub inline fn inverseUnit(self: Complex_x8) Complex_x8 {
std.debug.assert(@reduce(.And, @abs(self.mag() - vm.ps(1.0)) <= vm.ps(0x1p-10)));
std.debug.assert(@reduce(.And, @abs(self.mag() - vm.ps(1.0)) <= vm.ps(0x1p-5)));
return .{
.re = self.re,
.im = -self.im,