Re: factorial and exponent



Army1987 said:
"Richard Heathfield" <rjh@xxxxxxxxxxxxxxx> ha scritto nel messaggio
news:Gv6dnQ2-P8SDeunbnZ2dnUVZ8t_inZ2d@xxxxxxxxx
BiGYaN said:
<snip>

Use GMP library found in http://gmplib.org/
It will enable you to do "Arithmetic without Limitations" !!

Nonsense.

Consider an integer greater than or equal to 2. Call it A. Consider
another integer greater than or equal to 2. Call it B.

Raise A to the power B, storing the result in A. Now raise B to the
power A, storing the result in B. If you repeat this often enough,
you *will* hit a limit, no matter what numerical library you use.

But it is a limit of your computer, not of the library itself.

Nevertheless, it is a limit, and therefore the library *cannot* 'enable
you to do "Arithmetic without Limitations"', and therefore BiGYaN's
statement is nonsense.

Incidentally, you've just emerged from a 30-day spell in my sin bin. I
hope I won't have to chuck you back in there.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.



Relevant Pages

  • Re: factorial and exponent
    ... What's the technique? ... Raise A to the power B, storing the result in A. Now raise B to the ...
    (comp.lang.c)
  • Re: factorial and exponent
    ... What's the technique? ... Raise A to the power B, storing the result in A. Now raise B to the ...
    (comp.lang.c)
  • Re: factorial and exponent
    ... It will enable you to do "Arithmetic without Limitations"!! ... Raise A to the power B, storing the result in A. Now raise B to the ... implementation (and the universe) which put the limits. ...
    (comp.lang.c)
  • Re: Congruence with division
    ... If I can make the exponent a power of 2 then ... the fastest piece of software out there) will allow you to raise one ... hundred digit number by another hundred digit number mod a third ...
    (sci.math)
  • Re: Irrational numbers questions
    ... which means what power "a" must I raise the number ... Han de Bruijn ...
    (sci.math)