mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
compiler: add complex manipulation
* builtins: real, imag, complex * printing of complex numbers No support for complex arithmetic yet.
This commit is contained in:
Vendored
+10
@@ -11,3 +11,13 @@
|
||||
+3.333333e-001
|
||||
+6.666667e-001
|
||||
+6.666667e-001
|
||||
(+6.666667e-001+1.200000e+000i)
|
||||
+6.666667e-001
|
||||
+1.200000e+000
|
||||
(+6.666667e-001-2.000000e+000i)
|
||||
+6.666667e-001
|
||||
-2.000000e+000
|
||||
(+2.000000e+000+1.000000e+000i)
|
||||
(+2.000000e+000-2.000000e+000i)
|
||||
(+6.666667e-001-2.000000e+000i)
|
||||
(+6.666667e-001+1.200000e+000i)
|
||||
|
||||
Reference in New Issue
Block a user