Images 💾

Last commit ⭐

commit 58d0577a027646071da0b4d03feede8f12ee7c79
Author:     Martin Janiczek <martin@janiczek.cz>
AuthorDate: Thu Nov 23 01:34:40 2023 +0100
Commit:     Tim Flynn <trflynn89@pm.me>
CommitDate: Thu Nov 23 19:54:39 2023 -0500

    AK: Fix bugs in Complex += -= + - * / operators
    
    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 /.