Commit 51594b80 authored by Daniel Kochmański's avatar Daniel Kochmański

complex-float: print like any other complex number

During printing we cons new floats for imag and real part. We could
opencode that but that would add a lot of code for a little gain. If
this proves to be a real bottleneck we will refactor float printing.
parent 2bcba673
......@@ -137,11 +137,11 @@ write_complex_float(cl_object f, cl_object stream)
writestr_stream("#<CF(", stream);
writestr_stream("#C(", stream);
si_write_ugly_object(real, stream);
ecl_write_char(' ', stream);
si_write_ugly_object(imag, stream);
writestr_stream(")>", stream);
writestr_stream(")", stream);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment