> On Feb 23, 2022, at 1:08 PM, Carsten Bormann <[email protected]> wrote:
>> 
>> Pulling an ldexp library could be a big deal. It could increase code size by 
>> a lot.
> 
> Yes. 
> I should probably write some alternative C code that is a couple lines longer 
> but doesn’t need ldexp.
> (But what do you do with the binary32 then?)

I did that with shifts and masks and got a good education about floating point. 
:-)

https://github.com/laurencelundblade/QCBOR/blob/master/src/ieee754.c

More on the other parts later. Appreciate the discussion.

LL


_______________________________________________
COSE mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/cose

Reply via email to