Re: Initial bignum pdd

2002-02-28 Thread Tim Bunce
On Thu, Feb 28, 2002 at 10:44:21AM +, Ben Evans wrote: > On Thu, Feb 28, 2002 at 10:18:45AM +, David Chan wrote: > > On Wed, Feb 27, 2002 at 09:35:13PM +, Nicholas Clark wrote: > > > On Tue, Feb 26, 2002 at 11:17:55AM +, Alex Gough wrote: > > > > Yes, at some point allowing 10**222

Re: Initial bignum pdd

2002-02-28 Thread Ben Evans
On Thu, Feb 28, 2002 at 10:18:45AM +, David Chan wrote: > On Wed, Feb 27, 2002 at 09:35:13PM +, Nicholas Clark wrote: > > On Tue, Feb 26, 2002 at 11:17:55AM +, Alex Gough wrote: > > > Yes, at some point allowing 10**2, is just silly, > > > and I doubt the potentiona

Re: Initial bignum pdd

2002-02-28 Thread David Chan
On Wed, Feb 27, 2002 at 09:35:13PM +, Nicholas Clark wrote: > On Tue, Feb 26, 2002 at 11:17:55AM +, Alex Gough wrote: > > Yes, at some point allowing 10**2, is just silly, > > and I doubt the potentional applications are numerous enough to > > warrant trying it. So lon

Re: Initial bignum pdd

2002-02-27 Thread Nicholas Clark
On Tue, Feb 26, 2002 at 11:17:55AM +, Alex Gough wrote: > Yes, at some point allowing 10**2, is just silly, > and I doubt the potentional applications are numerous enough to > warrant trying it. So long as we're clear about what the limits are, about 10**98 particles in t

RE: Initial bignum pdd

2002-02-26 Thread Hong Zhang
> Would it be good to say exactly what type of rounding this is? What > is 19 / 5? How about 19 / -5? FWIW, here's what Perl > currently thinks: > > 19 / 5 = 3 > (-19)/ 5 = -3 > 19 /-5 = -3 > (-19)/-5 = 3 On way to solve this is to provide two sets of division operators, ie div/mod vs

Re: Initial bignum pdd

2002-02-26 Thread Alex Gough
On Tue, Feb 26, 2002 at 10:57:45AM +, David Chan was heard to mutter: > On Fri, Feb 22, 2002 at 03:08:58AM +, Alex Gough wrote: > > =item Division > > > > Under integer conditions, division is halted once the first fractional > > digit is calculated, with the result then being rounded to

Re: Initial bignum pdd

2002-02-26 Thread David Chan
On Fri, Feb 22, 2002 at 03:08:58AM +, Alex Gough wrote: > =item Division > > Under integer conditions, division is halted once the first fractional > digit is calculated, with the result then being rounded to an integer > and returned. ^

Re: Initial bignum pdd

2002-02-24 Thread Alex Gough
On Sun, 24 Feb 2002, Bryan C. Warnock wrote: > On Thursday 21 February 2002 22:08, Alex Gough wrote: > > > > It is therefore the current I which determines which numeric > > type is being considered during a particular operation, this makes it > > easy to upgrade from one numeric form to another,

Re: Initial bignum pdd

2002-02-24 Thread Bryan C. Warnock
Comments inline. Some snippage. On Thursday 21 February 2002 22:08, Alex Gough wrote: > > It is therefore the current I which determines which numeric > type is being considered during a particular operation, this makes it > easy to upgrade from one numeric form to another, and also allows for >

Re: Initial bignum pdd

2002-02-22 Thread Alex Gough
On Fri, Feb 22, 2002 at 11:53:12AM +, Simon Cozens was heard to mutter: > Nicholas Clark: > > > =item Round half even > > This is the standard financial way of rounding? > > Is it? That's something we need to get extremely right. [ 2:12PM]parrot/types% perl bignum_atest.pl rounding.decTest |

Re: Initial bignum pdd

2002-02-22 Thread Simon Cozens
Nicholas Clark: > > =item Round half even > This is the standard financial way of rounding? Is it? That's something we need to get extremely right. -- "The Amiga is the only personal computer where you can run a multitasking operating system and get realtime performance, out of the box." -- Pe

Re: Initial bignum pdd

2002-02-22 Thread Alex Gough
On Fri, 22 Feb 2002, Nicholas Clark wrote: > On Fri, Feb 22, 2002 at 03:08:58AM +, Alex Gough wrote: > > =head2 Rounding > > > > The rounding part of the context defines the rounding algoritm to be > > used, the following are provided (examples assume a precision of 5): > > > > =over 4 > > >

Re: Initial bignum pdd

2002-02-22 Thread Nicholas Clark
On Fri, Feb 22, 2002 at 03:08:58AM +, Alex Gough wrote: > =head2 Rounding > > The rounding part of the context defines the rounding algoritm to be > used, the following are provided (examples assume a precision of 5): > > =over 4 > > =item Round down This is rounding to zero, isn't it? >

Re: Initial bignum pdd

2002-02-21 Thread Bryan C. Warnock
On Thursday 21 February 2002 22:08, Alex Gough wrote: > This is a slightly confused first attempt at a pdd. I'll start to add > extra details over the next couple of days. > > Is 8 the right number? And can someone who knows how fix the ones in > the repository to have more meaningful file names

Initial bignum pdd

2002-02-21 Thread Alex Gough
This is a slightly confused first attempt at a pdd. I'll start to add extra details over the next couple of days. Is 8 the right number? And can someone who knows how fix the ones in the repository to have more meaningful file names? Alex Gough #