Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27418

Re: Input operands base when used in operation .

Newsgroups comp.lang.javascript
Date 2015-04-27 09:51 -0700
References (3 earlier) <83e4afe9-d41b-4ccc-90b9-2450ae909eb7@googlegroups.com> <5aee3d05-e13b-40c1-845b-2db2eb48eb47@googlegroups.com> <hQygPZh047NVFwy4@invalid.uk.co.demon.merlyn.invalid> <7a44528c-5924-4638-b81e-47f0df9ccbcf@googlegroups.com> <okgii5e0JAPVFwwY@invalid.uk.co.demon.merlyn.invalid>
Message-ID <e98e46cd-fb60-448d-95d6-a122668bc940@googlegroups.com> (permalink)
Subject Re: Input operands base when used in operation .
From Scott Sauyet <scott.sauyet@gmail.com>

Show all headers | View raw


Dr J R Stockton wrote:
> Scott Sauyet posted:
> 
>> It's easy enough to represent numbers in bases up to 36 as strings,
>> ...
> 
> AFAIK, that gives no unexpected problems for integers up to and
> including signed 2^53.

The problem, so far as I understand it, is to write a custom implementation
of big numbers.  I was just pointing out that one can use Strings so long
as the bases being used are not too large.  But that for larger bases, it's
going to become more straightforward to use arrays of integers.

The built-in implementations of numbers are not that relevant, to my mind.

  -- Scott

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-15 09:23 -0700
  Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-15 13:38 -0700
    Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-16 01:27 -0700
      Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-16 03:16 -0700
        Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-16 03:22 -0700
        Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-21 08:39 -0700
          Re: Input operands base when used in operation . Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-04-22 16:28 +0100
            Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-23 04:17 -0700
              Re: Input operands base when used in operation . Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-04-25 22:09 +0100
                Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-27 09:51 -0700
                Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-28 05:05 -0700
                Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-30 08:45 -0700
                Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-30 11:17 -0700
                Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-30 13:38 -0700
                Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-30 23:23 -0700
            Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-24 03:10 -0700
              Re: Input operands base when used in operation . Scott Sauyet <scott.sauyet@gmail.com> - 2015-04-27 09:45 -0700
          Re: Input operands base when used in operation . jonas.thornvall@gmail.com - 2015-04-24 02:54 -0700
  Re: Input operands base when used in operation . JJ <jj4public@vfemail.net> - 2015-04-18 23:17 +0700
    Re: Input operands base when used in operation . "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-04-18 18:34 +0200

csiph-web