mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-21 16:06:11 +00:00
There were two issues: 1) the C+=R and C-=R operators expected arithmetic types to have .real() 2) the R+C, R-C, R*C and R/C operators applied the operation in wrong order (did C+R, C-R, C*R and C/R instead). This wouldn't matter for + and * which are commutative, but is incorrect for - and /.
2.2 KiB
2.2 KiB