unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christopher Dimech <dimech@gmx.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Floating Point computations in elisp
Date: Fri, 18 Dec 2020 09:34:56 +0100	[thread overview]
Message-ID: <trinity-9b017ef6-81a6-496a-be58-45c77ccd693c-1608280496535@3c-app-mailcom-bs11> (raw)
In-Reply-To: <87sg8334mx.fsf@web.de>

Good morning and many thanks Michael.

---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy


> Sent: Friday, December 18, 2020 at 9:22 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Floating Point computations in elisp
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> > How can I do floating point computations in elisp
> >
> > (setq frc (/ tpd 60.0))
>
> Like (/ (float tpd) 60.0).
>
> Michael.
>
>
>



  reply	other threads:[~2020-12-18  8:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18  8:17 Floating Point computations in elisp Christopher Dimech
2020-12-18  8:22 ` Michael Heerdegen
2020-12-18  8:34   ` Christopher Dimech [this message]
2020-12-18 11:07   ` Jean Louis
2020-12-18 17:08 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-18 18:21   ` Jean Louis
2020-12-20  0:38     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-20  0:42     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-20  0:45     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-20  3:43       ` Christopher Dimech
2020-12-20  4:14         ` Stefan Monnier
2020-12-20  4:19           ` Christopher Dimech

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=trinity-9b017ef6-81a6-496a-be58-45c77ccd693c-1608280496535@3c-app-mailcom-bs11 \
    --to=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /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).