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


Groups > comp.lang.javascript > #27594

Re: Calculate/Interpolate size of y in x^y = z when you do know "number of digits z" and base x?

Newsgroups comp.lang.javascript
Date 2015-05-11 09:32 -0700
References <a82630ee-3383-4c55-8da3-4cb092bcc1ae@googlegroups.com> <XnsA4979BF13AD11eejj99@194.109.133.246> <3e2b168c-80a4-40d6-8a05-abd9f369cc91@googlegroups.com> <XnsA497BA3592A31eejj99@194.109.133.246>
Message-ID <2ea59ea1-e9e4-4ee0-829b-117d27884b5e@googlegroups.com> (permalink)
Subject Re: Calculate/Interpolate size of y in x^y = z when you do know "number of digits z" and base x?
From jonas.thornvall@gmail.com

Show all headers | View raw


Den måndag 11 maj 2015 kl. 18:19:00 UTC+2 skrev Evertjan.:
> jonas.thornvall@gmail.com wrote on 11 mei 2015 in comp.lang.javascript:
> 
> > Den måndag 11 maj 2015 kl. 15:19:51 UTC+2 skrev Evertjan.:
> >> jonas.thornvall@gmail.com wrote on 11 mei 2015 in comp.lang.javascript:
> >> 
> >> > Subject: Calculate/Interpolate size of y in  x^y = z  when you do kno
> > w 
> >> "number of  digits z" and  base  x?
> >> 
> >> Please do not use the subject line for your Q,
> >> or at least repeat it in the text.
> >> 
> >> Is "size of y" not the same as "value of y",
> >> and if not, why not? 
> >> 
> >> > If i have a very bignumber z in decimal, i know the number of digits
> >> > le 
> > t
> >> > us say 100 digits and base is x=64. 
> >> 
> >> "Very big number", bignumbers [as all substantives] cannot be "very".
> >> 
> >> What do you mean by "decimal" if the base is 64?
> >> 
> >> Doesn't "decimal" mean base=10? 
> >> 
> >> > How can i interpolate, find a closeby y (where base is x).
> >> 
> >> You are asking for a value, values have no base.
> >>  
> >> > I do understand that i can add 1 to y until i reach the
> >> > neighbourhood. 
> >> 
> >> Welcome to the neighborhood. 
> >> 
> >> The neighborhood of what?
> >>  
> >> > But is there any general rule to use to close in faster when you do
> >> > kno 
> > w x 
> >> > and the number of digits in z?
> >> 
> >> Sorry?
> 
> [Signature removed, as I asked you to do several times]
>  
> > By the way the baseconverter do support bignumbers now anybase anysize
> > of number. 
> > 
> > Now it would be nice with some speed, doing it the fastest way searching
> > the correct digitplace. I think that will be faster than calculate using
> > logarithms. 
> 
> Do you never interact with people?
> 
> You are not answering my questions about the request YOU made.
> 
> It seems you are not interested in communicating with us,
> because if you responde, you possibly did not even read the posting you are 
> responding on.
> 
> And in most cases you are just responding to your own postings.
> 
> What is the matter with you? 
> 
> -- 
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)

Oh i did but you are not really interested.
One more time for Evertjan
An example using a small integer we search 2188 and base is 3.

So 2188=3^y  
y is an integer.

In this case the seareched *integer* would be y=7 since i search (min?) the smaller value, not y=8 (max?) the bigger value.

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


Thread

Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 04:22 -0700
  Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 04:28 -0700
    Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 05:47 -0700
      Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-05-11 13:56 +0100
        Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 06:12 -0700
          Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 06:19 -0700
          Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-05-11 21:49 +0100
  Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-11 15:19 +0200
    Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 06:25 -0700
    Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 06:30 -0700
      Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-11 18:18 +0200
        Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? jonas.thornvall@gmail.com - 2015-05-11 09:32 -0700
          Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-11 19:45 +0200
            Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-05-11 22:58 +0200
              Re: Calculate/Interpolate size of y in  x^y = z  when you do know "number of  digits z" and  base  x? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-11 23:13 +0200

csiph-web