# New Ticket Created by Paul Cochrane
# Please include the string: [perl #48120]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=48120 >
In languages/perl5/src/pmc/perlnum.pmc:get_string() there is the todo item:
/* XXX sig
Shouldn't the get_number() method use string_from_num, instead of
calling sprintf/snprintf?
--
$a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca
);{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "[EMAIL PROTECTED]
]\n";((6<=($a-=6))?$a+=$_[$a%6]-$a%6:($a=pop @b))&&redo;}
On Thu, 7 Aug 2003, Benjamin Goldberg wrote:
>
> Shouldn't the get_number() method use string_from_num, instead of
> calling sprintf/snprintf?
I've just tried this, and a number of tests break. There seem to be two
main reasons. Firstly, some tests were assuming that stringified PerlNums
woul
t want to
compile it on a cray that has no gcc.
> On Wed, 28 Nov 2001, Andy Dougherty wrote:
>
> > diff -r -u parrot-current/classes/perlnum.pmc parrot-andy/classes/perlnum.pmc
>
> > void set_integer (PMC* value) {
> > -//SELF->vtable = &(Parro
On Wed, 28 Nov 2001, Michael Maraist wrote:
> While your point is taken, it's hardly considered "C++" anymore. Many
> C-compilers have adopted many such useful features.
Your point is also taken, but "Useful feature originating in C++ but since
adapted by many (but not all) ANSI compilers and h
While your point is taken, it's hardly considered "C++" anymore. Many
C-compilers have adopted many such useful features.
On Wed, 28 Nov 2001, Andy Dougherty wrote:
> diff -r -u parrot-current/classes/perlnum.pmc parrot-andy/classes/perlnum.pmc
> void se
diff -r -u parrot-current/classes/perlnum.pmc parrot-andy/classes/perlnum.pmc
--- parrot-current/classes/perlnum.pmc Sun Nov 25 23:58:52 2001
+++ parrot-andy/classes/perlnum.pmc Wed Nov 28 11:23:43 2001
@@ -74,7 +74,7 @@
}
void set_integer (PMC* value) {
-//SELF->vta