Re: [dev] [sbase][PATCH] Add factor(1)

From: Mattias Andrée <maandree_AT_kth.se>
Date: Fri, 26 Feb 2016 12:33:37 +0100

On Fri, 26 Feb 2016 11:31:31 +0000
Dimitris Papastamos <sin_AT_2f30.org> wrote:

> On Fri, Feb 26, 2016 at 12:28:32PM +0100, Mattias Andrée
> wrote:
> > On Fri, 26 Feb 2016 11:26:15 +0000
> > Dimitris Papastamos <sin_AT_2f30.org> wrote:
> >
> > > On Fri, Feb 26, 2016 at 12:19:32PM +0100, Mattias
> > > Andrée wrote:
> > > > On Fri, 26 Feb 2016 10:07:31 +0000
> > > > Dimitris Papastamos <sin_AT_2f30.org> wrote:
> > > >
> > > > > On Fri, Feb 26, 2016 at 09:47:14AM +0100, Mattias
> > > > > Andrée wrote:
> > > > > > On Fri, 26 Feb 2016 09:43:02 +0100
> > > > > > FRIGN <dev_AT_frign.de> wrote:
> > > > > >
> > > > > > > On Fri, 26 Feb 2016 09:37:12 +0100
> > > > > > > Mattias Andrée <maandree_AT_kth.se> wrote:
> > > > > > >
> > > > > > > Hey Mattias,
> > > > > > >
> > > > > > > > Mostly random things, but regularly when I
> > > > > > > > correct maths tests.
> > > > > > >
> > > > > > > do the primes you ask your students to study
> > > > > > > fit in 64 bits?
> > > > > > >
> > > > > >
> > > > > > Yes. But sometimes the primes I factor do
> > > > > > not.
> > > > >
> > > > > Write a dc(1) script!
> > >
> > > man dc
> > >
> >
> > I know, but why?
>
> Because it can already handle arbitrary precision
> arithmetic.
>

I'm lost. Do you think factor(1) shall be implemented as a
dc(1) script in sbase?

Received on Fri Feb 26 2016 - 12:33:37 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 26 2016 - 12:36:28 CET