On 3/14/23 6:39 PM, Shiro Kawai wrote:
The conversion routines is in C.  Writing it in portable Scheme may be a bit of challenge (you'll probably need to assume IEEE double representation for flonums, at least)

Perhaps computations can be done in IEEE double with C99 ilogb and scalbn (which Gambit supports as flilogb and flscalbn) and tests and constants for +inf.0, -inf.0, and +nan.0.

I'll need to think about it.

Thanks.  Brad

Reply via email to