Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

complex

complex

§complex(C 
type
:numeric complex.C, real C, imag C)
 => 
complex complex.C
:
numeric complex complex.C,complexes complex.C

complex -- complex numbers based on arbitrary numeric type

complex provides complex numbers based on a numeric type (e.g. f64, i32).
A complex number consists of a real and an imaginary part.
just for brevity

redefines:


redefines:


redefines:


redefines:


redefines:


redefines:

basic operations

redefines:

enable generic features in ancestors

redefines:

NYI: these three should be implemented in complexes, not here:

redefines: