1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v: fix build and failing tests on arm64 (#12840)

This commit is contained in:
spaceface
2021-12-15 08:00:38 +01:00
committed by GitHub
parent 1c629f4a93
commit d13fe7843c
4 changed files with 19 additions and 4 deletions

View File

@@ -142,7 +142,8 @@ fn test_complex_angle() {
c = cmplx.complex(-1, -1)
assert c.angle() * 180 / math.pi == -135
cc := c.conjugate()
assert cc.angle() + c.angle() == 0
a := cc.angle()
assert a + c.angle() == 0
}
fn test_complex_addinv() {