Reorganize and fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user