You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Rust and Python support complex arithmetic. Python does so by treating complex as a built-in type; Rust, by overriding the arithmetic operators for a class num::complex::Complex. The representation of constants is completely different. The Python number 1+j is represented in Rust as Complex::new(1.0, 1.0).
The text was updated successfully, but these errors were encountered:
Both Rust and Python support complex arithmetic. Python does so by treating complex as a built-in type; Rust, by overriding the arithmetic operators for a class num::complex::Complex. The representation of constants is completely different. The Python number 1+j is represented in Rust as Complex::new(1.0, 1.0).
The text was updated successfully, but these errors were encountered: