bitsOf64

fnResult!(ulong, BidError) bitsOf64(const Bid64 v) @safe nothrow @nogc

Builds the decimal64 bit pattern from canonical fields.

Parameters

vthe fields (finites pick small/large form automatically).

Returns

Result!(ulong, BidError): the raw bits. INVALID_FIELD

contexts: 0 coefficient > 10^16 − 1; 1 biased exponent > 767; 2 payload/trailing bits beyond their width.