From: Andreas Schwab <schwab@linux-m68k.org>
To: Ivan Kanis <ivan@kanis.fr>
Cc: Emacs Development List <emacs-devel@gnu.org>
Subject: Re: math round woes
Date: Sat, 30 Aug 2014 18:02:25 +0200 [thread overview]
Message-ID: <878um6ynhq.fsf@igel.home> (raw)
In-Reply-To: <87k35qhssr.fsf@kanis.fr> (Ivan Kanis's message of "Sat, 30 Aug 2014 17:59:48 +0200")
Ivan Kanis <ivan@kanis.fr> writes:
> August, 30 at 11:57 Andreas wrote:
>
>> Ivan Kanis <ivan@kanis.fr> writes:
>>
>>> (require 'calc-arith)
>>> (math-round 586514472.354) -> 586514472.354
>>>
>>> I looked at math-round and it calls math-trunk:
>>>
>>> (math-trunk 1.1) -> 1.1
>>>
>>> What's going on?
>>
>> Since you are calling an internal calc function you need to use its
>> internal number representation (and s/k/c/).
>
> What's s/k/c?
See sed(1).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2014-08-30 16:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-30 9:42 math round woes Ivan Kanis
2014-08-30 9:55 ` David Kastrup
2014-08-30 9:57 ` Andreas Schwab
2014-08-30 15:59 ` Ivan Kanis
2014-08-30 16:02 ` Andreas Schwab [this message]
2014-08-30 10:29 ` Rüdiger Sonderfeld
2014-08-30 20:01 ` Ivan Kanis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878um6ynhq.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=emacs-devel@gnu.org \
--cc=ivan@kanis.fr \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.