[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: osc-insert-float32
From: |
Stefan Monnier |
Subject: |
Re: osc-insert-float32 |
Date: |
Tue, 17 Dec 2019 14:02:18 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Mario Lang [2019-12-17 19:04:11] wrote:
> Hi.
>
> 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?
There's `frexp` to extract the exponent and the mantissa.
Stefan