Re: [your code here] Rounding real numbers

2015-05-04 Thread Justin Whear via Digitalmars-d
Arrrg, formatting got torn up. Here's a Dpaste: http://dpaste.dzfl.pl/ca190950f199

Re: [your code here] Rounding real numbers

2015-05-04 Thread Vladimir Panteleev via Digitalmars-d
On Sunday, 3 May 2015 at 04:14:40 UTC, Andrei Alexandrescu wrote: On 5/2/15 7:48 PM, Vladimir Panteleev wrote: On Saturday, 2 May 2015 at 22:23:01 UTC, Andrei Alexandrescu wrote: On Friday, 1 May 2015 at 17:17:09 UTC, Justin Whear wrote: A process for rounding numbers. Thanks Justin. Could

Re: [your code here] Rounding real numbers

2015-05-02 Thread Andrei Alexandrescu via Digitalmars-d
On Friday, 1 May 2015 at 17:17:09 UTC, Justin Whear wrote: A process for rounding numbers. Thanks Justin. Could someone take this? We don't have PHP code for rotating examples randomly yet. -- Andrei

Re: [your code here] Rounding real numbers

2015-05-02 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 2 May 2015 at 22:23:01 UTC, Andrei Alexandrescu wrote: On Friday, 1 May 2015 at 17:17:09 UTC, Justin Whear wrote: A process for rounding numbers. Thanks Justin. Could someone take this? We don't have PHP code for rotating examples randomly yet. -- Andrei Doesn't need to be

Re: [your code here] Rounding real numbers

2015-05-02 Thread Adam D. Ruppe via Digitalmars-d
On Sunday, 3 May 2015 at 02:48:32 UTC, Vladimir Panteleev wrote: Doesn't need to be PHP could also be D

Re: [your code here] Rounding real numbers

2015-05-02 Thread Andrei Alexandrescu via Digitalmars-d
On 5/2/15 7:48 PM, Vladimir Panteleev wrote: On Saturday, 2 May 2015 at 22:23:01 UTC, Andrei Alexandrescu wrote: On Friday, 1 May 2015 at 17:17:09 UTC, Justin Whear wrote: A process for rounding numbers. Thanks Justin. Could someone take this? We don't have PHP code for rotating examples

Re: [your code here] Rounding real numbers

2015-05-02 Thread Andrei Alexandrescu via Digitalmars-d
On 5/2/15 7:51 PM, Adam D. Ruppe wrote: On Sunday, 3 May 2015 at 02:48:32 UTC, Vladimir Panteleev wrote: Doesn't need to be PHP could also be D code or it didn't happen -- Andrei

[your code here] Rounding real numbers

2015-05-01 Thread Justin Whear via Digitalmars-d
A process for rounding numbers. This incarnation can be run like round 1.23 3.4 4 or by reading lines from stdin. It could be simplified as an example by getting rid of the argument-processing form. It shows off templated function composition using std.functional.pipe, ct-regexes, and