Currently signedness of fixed type determined by signedness of parameter B which sets width of mantissa in bits. This does not works as expected because typenum lacks arithmetic ops between unsigned and singned type-level number.
The easiest possible solution: switch to determining of signedness by signedness of the first parameter R which sets radix of fixed-point number.
Currently signedness of fixed type determined by signedness of parameter
B
which sets width of mantissa in bits. This does not works as expected because typenum lacks arithmetic ops between unsigned and singned type-level number.The easiest possible solution: switch to determining of signedness by signedness of the first parameter
R
which sets radix of fixed-point number.