[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: osc-insert-float32
From: |
DIRO |
Subject: |
Re: osc-insert-float32 |
Date: |
Fri, 30 Sep 2022 15:02:33 -0400 |
User-agent: |
Evolution 3.45.3-2 |
Le mardi 17 décembre 2019 à 19:04 +0100, Mario Lang a écrit :
> 14 years ago, I wrote this beast to be able to send IEEE floating
> point
> values over the network (Open Sound Control). Reading it today, I am
> actually surprised I was driven enough to get this working. I am
> wondering, is there a better way to achieve this today?
> Maybe something in Emacs itself I missed?
>
> If no, is there a better way to test for negative zero and 0.0e+NaN?
We could easily add a primitive written in C which uses `memcpy` to
generate the IEEE 32bit encoding of a 32bit or 64bit float.
Stefan
- Re: osc-insert-float32,
DIRO <=