unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: Mario Lang <mlang@delysid.org>, emacs-devel@gnu.org
Subject: Re: IEEE single precision float values
Date: Sat, 12 Feb 2005 20:53:24 +0100	[thread overview]
Message-ID: <x5wttdeerv.fsf@lola.goethe.zz> (raw)
In-Reply-To: <E1D02lF-0002Xn-Mb@fencepost.gnu.org> (Richard Stallman's message of "Sat, 12 Feb 2005 14:16:57 -0500")

Richard Stallman <rms@gnu.org> writes:

>     I came up with the following two functions below.  I think they
>     are generically useable for network IO and possibly reading
>     certain data records from files directly.  I am fairly sure
>     my version is very bad regarding performance though.
>
> Whether that is a problem depends on what the application is.
> Anyway, if this is generally useful we could install it.

I think this is something that should quite likely rather be done in C
on platforms with IEEE floating point arithmetic.  It seems rather
pointless (not to mention bug-prone) to go through all that Elisp when
just typecasting the bit patterns should be enough.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

      reply	other threads:[~2005-02-12 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11  9:34 IEEE single precision float values Mario Lang
2005-02-12 19:16 ` Richard Stallman
2005-02-12 19:53   ` David Kastrup [this message]

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=x5wttdeerv.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mlang@delysid.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).