Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #479 (assigned enhancement)

Opened 1 year ago

Last modified 4 months ago

tango.text.convert.Layout cannot handle imaginary or complex types

Reported by: DRK Assigned to: kris (accepted)
Priority: normal Milestone: 1.0
Component: Tango Version:
Keywords: triage Cc:

Description

As the summary states, Layout cannot format imaginary of complex floating point types, and only outputs the type of arrays, not their contents.

It would be nice to have this for parity with Phobos.

Change History

05/17/07 13:13:23 changed by kris

aye ... it'll get there soon :)

06/02/07 04:26:33 changed by kris

  • status changed from new to assigned.
  • version deleted.
  • milestone set to 1.0.

08/28/07 02:32:39 changed by kris

not forgotten :)

11/02/07 03:25:31 changed by kris

struct creal { real re, im; }
ireal is just { real im; }
writefln("%s", 1.0+2.0i);
format("%f%+fi", v.re, v.im)
%+f" should output a float with a leading '+', or a leading '-' if it's negative
creal is the most important meal of the day!

05/24/08 15:30:08 changed by larsivi

  • keywords set to triage.