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


Groups > comp.lang.javascript > #27410

Re: Input operands base when used in operation .

From Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid>
Newsgroups comp.lang.javascript
Subject Re: Input operands base when used in operation .
Date 2015-04-25 22:09 +0100
Organization Home
Message-ID <okgii5e0JAPVFwwY@invalid.uk.co.demon.merlyn.invalid> (permalink)
References (2 earlier) <d64663f6-684f-4818-b66b-018466140e33@googlegroups.com> <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>

Show all headers | View raw


In comp.lang.javascript message <7a44528c-5924-4638-b81e-47f0df9ccbcf@go
oglegroups.com>, Thu, 23 Apr 2015 04:17:37, Scott Sauyet
<scott.sauyet@gmail.com> 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.

But, when I last tested a while ago, some browsers do unreasonable
things when converting non-integer values to strings in unpopular bases.

I have seen strings with about a thousand places after the non-decimal
point.  And one browser handled a remainder of half or more in terms of
the least significant digit by incrementing the character representing
this digit.  That of course worked very well except when the least
significant digit had represented the value (base-1).  I believe that
has been corrected now.

(Thanks.  No news yet on merlyn.demon)

-- 
 (c) John Stockton, nr London, UK.   E-mail, see Home Page.    Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

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