From: David Kastrup <dak@gnu.org>
Subject: Re: Using calculator for switching from decimal to hexadecimal
Date: Fri, 31 Mar 2006 12:57:28 +0200 [thread overview]
Message-ID: <858xqqg9uv.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.217.1143801015.2481.help-gnu-emacs@gnu.org
Ismael Valladolid Torres <ivalladolidt@terra.es> writes:
> David Kastrup escribe:
>> Ismael Valladolid Torres <ivalladolidt@terra.es> writes:
>>
>> > Can I use the emacs calculator to switch from a decimal *big* value to
>> > its hexadecimal value and vice versa?
>> >
>> > I press H, enter 102BC09F, press D and get 2867359 which is simply
>> > 2BC09F, can I override this range limit?
>>
>> You could use Emacs calc.
>>
>> C-x * q 16#102bc09f RET C-y
>>
>> 271302815
>>
>
> C-x * is undefined here (NT Emacs 21.3.1), which major mode is needed?
I had been assuming that you were using a developer version of Emacs
(like that from <URL:ftp://alpha.gnu.org/pub/gnu/auctex>) since I did
not realize that Emacs 21.3 already came with some sort of calculator.
My personal recommendation would be to give the CVS Emacs a try: this
is bound to be less painful than fetching the last released version of
Emacs calc, patching it up in order to work with Emacs 21 (as
described in the PROBLEMS file) and ignoring the remaining issues
fixed since then.
I think that this would be the least painful way to get high precision
arithmetic in Emacs.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2006-03-31 10:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.214.1143794302.2481.help-gnu-emacs@gnu.org>
2006-03-31 8:43 ` Using calculator for switching from decimal to hexadecimal David Kastrup
2006-03-31 10:30 ` Ismael Valladolid Torres
[not found] ` <mailman.217.1143801015.2481.help-gnu-emacs@gnu.org>
2006-03-31 10:57 ` David Kastrup [this message]
2006-03-31 12:02 ` Ismael Valladolid Torres
[not found] ` <mailman.225.1143806557.2481.help-gnu-emacs@gnu.org>
2006-04-04 11:54 ` David Kastrup
2006-04-04 16:01 ` Ismael Valladolid Torres
2006-03-31 8:38 Ismael Valladolid Torres
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=858xqqg9uv.fsf@lola.goethe.zz \
--to=dak@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).