Added precision-related getters

Created getters hasFinitePrecision, precision and scale.

Also provided tests to verify the workings of the implementation.
Added signum getter
Merge remote-tracking branch 'origin/signum'