Re: Implementing cent/ucent...

2015-04-14 Thread Dominikus Dittes Scherkl via Digitalmars-d-announce
On Monday, 13 April 2015 at 20:06:11 UTC, Kai Nacke wrote: On Monday, 13 April 2015 at 09:00:30 UTC, Dominikus Dittes Scherkl wrote: I once had added cent/ucent to std/traits.d TypeInfo for cent/ucent is now in druntime. std.traits has cent/ucent support. Wow, cool. I need to address some

Re: Implementing cent/ucent...

2015-04-14 Thread Kai Nacke via Digitalmars-d-announce
On Tuesday, 14 April 2015 at 10:42:31 UTC, Dominikus Dittes Scherkl wrote: By the way: are also cent/ucent literals defined? And if yes, what's the postfix for that? Was it T? There is no postfix defined. If the value of an literal does not fit in long/ulong then the type is cent/ucent. I

Re: Implementing cent/ucent...

2015-04-13 Thread Kai Nacke via Digitalmars-d-announce
On Monday, 13 April 2015 at 09:00:30 UTC, Dominikus Dittes Scherkl wrote: I once had added cent/ucent to std/traits.d TypeInfo for cent/ucent is now in druntime. std.traits has cent/ucent support. I need to address some comments in std.format before it can be merged. Other modules (e.g.

Re: Implementing cent/ucent...

2015-04-13 Thread Dominikus Dittes Scherkl via Digitalmars-d-announce
On Tuesday, 7 April 2015 at 15:55:24 UTC, Kai Nacke wrote: Hi all! I started to work on cent/ucent support in LDC (and possible in upstream DMD). Here is the current state: Hurray! I missed that. If you like to help: - clone test - Druntime/Phobos should support cent/ucent. I already

Implementing cent/ucent...

2015-04-07 Thread Kai Nacke via Digitalmars-d-announce
Hi all! I started to work on cent/ucent support in LDC (and possible in upstream DMD). Here is the current state: 1) The pull request https://github.com/ldc-developers/ldc/pull/891/files implements cent/ucent based on the upcoming major LDC release (branch merge-2.067). It is usable but

Re: Implementing cent/ucent...

2015-04-07 Thread Vladimir Panteleev via Digitalmars-d-announce
On Tuesday, 7 April 2015 at 15:55:24 UTC, Kai Nacke wrote: I started to work on cent/ucent support in LDC (and possible in upstream DMD). Here is the current state: Hi, I appreciate all the work you're doing for LDC, but isn't ucent better implemented as a library type (e.g. as a FixNum

Re: Implementing cent/ucent...

2015-04-07 Thread Kai Nacke via Digitalmars-d-announce
On Tuesday, 7 April 2015 at 18:43:06 UTC, Vladimir Panteleev wrote: On Tuesday, 7 April 2015 at 15:55:24 UTC, Kai Nacke wrote: I started to work on cent/ucent support in LDC (and possible in upstream DMD). Here is the current state: Hi, I appreciate all the work you're doing for LDC, but

Re: Implementing cent/ucent...

2015-04-07 Thread Daniel Murphy via Digitalmars-d-announce
Kai Nacke wrote in message news:kxcbizohnxdtimjwl...@forum.dlang.org... But: I am not going to extend the DMD backend! This has 2 consequences. First, we need to decide how to integrate the code. (Do we want to clutter the code with #if WANT_CENT as I currently do? Should we wait for DDMD?)

Re: Implementing cent/ucent...

2015-04-07 Thread deadalnix via Digitalmars-d-announce
Awesome !