C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Low-level float parsing functions

From: Jan Schultke <janschultke_at_[hidden]>
Date: Wed, 30 Apr 2025 20:11:10 +0200
I don't think it makes much sense to use _BitInt for this, even if it was
in the standard, which it isn't.

You wouldn't need to parse in this function; the two byte spans would
contain the little-endian bits of the variable-length integers that make up
the integer and fraction. I don't see a compelling reason why you would
take in the integer and fraction as an integer type. You're still passing
the same data.

Received on 2025-04-30 18:11:24