FixedBinary.fromUnscaled

FixedBinary fromUnscaled(I raw) static @safe pure nothrow @nogc

Wraps a raw (unscaled) integer: the value the C libraries and the wire carry. No scaling, no checking.

Parameters

rawthe unscaled two's-complement coefficient.

Returns

raw × 2⁻ˢᶜᵃˡᵉ.