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

Ticket #927 (assigned enhancement)

Opened 8 months ago

Last modified 6 months ago

complex parsing function

Reported by: Cyborg16 Assigned to: kris (accepted)
Priority: normal Milestone: 1.0
Component: Tango Version: 0.99.4 Frank
Keywords: patch Cc:

Description

Here's an addition to text.convert.Float. I haven't really put it to any use yet, but it passes the unittests. The way it evaluates addition/subtraction operations may be a little surprising, but I wanted it to work as similarly as possible to D's complex "literals".

Attachments

complex.d (3.3 kB) - added by Cyborg16 on 02/18/08 04:52:48.

Change History

02/18/08 04:52:48 changed by Cyborg16

  • attachment complex.d added.

02/18/08 14:19:58 changed by kris

nice!

02/22/08 23:48:02 changed by kris

  • status changed from new to assigned.
  • milestone changed from 0.99.5 to 0.99.6.

This is great, and could use a complementary format routine also. My concern is only that Walter (and Don C) is talking about removing complex types from the language.

Not sure what to do about that aspect

04/12/08 17:36:53 changed by larsivi

  • milestone changed from 0.99.6 to 1.0.

We will wait this off for a little while, see if anythings comes out of the complex definition in the language.

04/12/08 18:04:04 changed by larsivi

See #915