Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #27324
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: Convoluted logic trying to do bignumb |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | (8 earlier) <XnsA479868525BDAeejj99@194.109.133.246> <79c50d33-33c7-4ff9-9a8d-29a2af3ee97b@googlegroups.com> <58540d8e-94a6-4e9b-914e-e18050dc2abd@googlegroups.com> <XnsA479CF4EC766eejj99@194.109.133.246> <cccc56b7-01ed-4398-9c3e-e0be2f1877b7@googlegroups.com> |
| Date | 2015-04-11 21:32 +0200 |
| Message-ID | <XnsA479DB23E390Deejj99@194.109.133.246> (permalink) |
jonas.thornvall@gmail.com wrote on 11 apr 2015 in comp.lang.javascript:
> Den lördag 11 april 2015 kl. 20:22:49 UTC+2 skrev Evertjan.:
>> jonas.thornvall@gmail.com wrote on 11 apr 2015 in comp.lang.javascript:
>>
>> > How would one do a single integer compare to array if (addResult[i] >
>> > base) So know addResult[i] would also have to be an array within the
>> > array.
>>
>> I have no idea what you mean,
>> and even suspect it does not mean anything.
>>
>> --
>> Evertjan.
>> The Netherlands.
>> (Please change the x'es to dots in my emailaddress)
>
> Well it simply mean
"single integer" what does that mean?
Any integer number is single.
You are mixing the concept of number with it's representation [again?].
> that a multidimensinal array is to prefer, when a
> *virtual* digit exceed tne number of digits within decimal base.
Which I think is not true,
but in any case you should not just say that,
without any argument.
Why should hexadecimal representation be less preferable than
array representation?
> think realdigit=virtualdigit[i].split("");
I thought the whole array represents[!] the number?
What is your concept of reality?
> Now we can compare it with var base = [];
Sorry?
> Using the compare function.
>
> I just think loud without being explicit.
> It does nearly mean something.
Methinks you should have a clear idea of number theory,
and keep it separate from the practical limitatons of
javascript number representation.
The representation can be internal, binary string, higher base string,
array of base maximized members, array of array [of ...] of the latter, etc.
In the Forth language, I wrote a compiler for the Sygnetics 2650 CPU in
1982, integer numbers were 32 bit values, representation was in any base
and upto base-36 defined by 10digits+26letters.
A 3 character string integer base 36 has a maximum value of 46,656 btw,
so just 6 characters maxes 2,176,782,336 nice to know if you are worried
running out of car numberplate numbers.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-09 22:26 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-09 22:44 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-09 22:59 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-09 23:02 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-09 23:16 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-10 01:49 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-10 11:53 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-10 06:33 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-10 20:25 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-10 11:55 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 04:05 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-11 13:13 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 04:49 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 04:56 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 05:31 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-11 20:22 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 12:07 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-11 21:32 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 13:22 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 16:07 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-12 12:06 +0200
Re: Convoluted logic trying to do bignumb Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-04-14 22:44 +0100
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-15 02:39 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-15 04:52 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-15 05:09 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-15 05:10 -0700
Re: Convoluted logic trying to do bignumb Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-04-15 22:46 +0100
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-16 01:06 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 07:21 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 08:06 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-11 20:32 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-11 12:10 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-10 06:55 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-10 07:19 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-10 07:26 -0700
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-12 07:20 -0700
Re: Convoluted logic trying to do bignumb "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-04-12 17:30 +0200
Re: Convoluted logic trying to do bignumb jonas.thornvall@gmail.com - 2015-04-12 09:03 -0700
csiph-web