mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
638bc17eeb
This is fairly trivial to add and follows the implementation of gc: https://github.com/golang/go/blob/170b8b4b12be50eeccbcdadb8523fb4fc670ca72/src/cmd/compile/internal/gc/ssa.go#L2179-L2192
30 lines
695 B
Plaintext
30 lines
695 B
Plaintext
+3.141593e+000
|
|
+6.666667e-001
|
|
+1.666667e+000
|
|
-3.333333e-001
|
|
+1.333333e+000
|
|
+3.333333e-001
|
|
+6.666667e-001
|
|
+1.666667e+000
|
|
-3.333333e-001
|
|
+1.333333e+000
|
|
+3.333333e-001
|
|
+6.666667e-001
|
|
+6.666667e-001
|
|
3 5 -2 -11
|
|
+5.300000e+001 -8.000000e+000 +2.000000e+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)
|
|
complex64 add: (+2.000000e+000+1.000000e+001i)
|
|
complex64 sub: (+8.000000e+000+1.000000e+001i)
|
|
complex128 add: (-3.000000e+000+8.000000e+000i)
|
|
complex128 sub: (-7.000000e+000+8.000000e+000i)
|