emacs-devel
[Top][All Lists]
Advanced

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

Re: IEEE single precision float values


From: David Kastrup
Subject: Re: IEEE single precision float values
Date: Sat, 12 Feb 2005 20:53:24 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> 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 via email to

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