[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re6: coreutils v5.2.1 - stat.c

From: Paul Eggert
Subject: Re: Re6: coreutils v5.2.1 - stat.c
Date: Fri, 30 Sep 2005 14:56:51 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

ThMO <address@hidden> writes:

> +     ['Ma', '-4294966201', {OUT => '-1 12197 352133'}],

Now that I see these test cases I also see a reason why this is not a
good idea.  Currently, 'factor' outputs the unique factorization of
the input number into primes.  But there is no unique factorization
for negative numbers.  For example, OUT could have been '-12197
352133' or '12197 -352133'.

I am becoming inclined to leave sleeping dogs lie here.  Except
perhaps 'factor' should also report an error if asked to factor zero.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]