help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculator: no exponent, full number ?


From: tomas
Subject: Re: Calculator: no exponent, full number ?
Date: Thu, 6 Jun 2019 19:25:17 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jun 06, 2019 at 07:11:12PM +0200, Emanuel Berg via help-gnu-emacs wrote:
> tomas wrote:
> 
> > Newer Emacsen support bignums:
> >
> > (expt 71 71) =>
> > 275006373483461607657434076627252658495183350017755660813753981774508905998081919405140568848353397233796618192645698819765129996471
> 
> (expt 71 71) ; -141793097
> 
> > That said, calc itself supports bignums
> > since long.
> 
> OK, but how could it, if Emacs didn't?

Well, it can do fractions too. And symbolic expressions. Although they
arent native to elisp. Magic :-)

See calc.el, especially below this comment:

  ;;;; Arithmetic routines.

for a beginning of a long and exciting journey.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]