BigFixed.fractional_bits

the number of fractional bits

struct BigFixed
@property pure nothrow
size_t
fractional_bits
()

Examples

auto b = BigFixed(5, 10);

b.convertQ(5);
assert(b == BigFixed(5, 5));

assert(b.convertQ(10) == BigFixed(5, 10));
assert(b.fractional_bits == 10);

Meta