[Version: 7 September 2017] First bit is represented by plus or minus sign. Negative values are in their two's complement form.
Rounding mode: If exponential bit is to be rounded, use geometric mean to decide which is the nearest number. If fraction bit is to be rounded, use the arithmetic mean to decide which is the nearest number. No over- and underflow. Obeys bankers rounding.
Added bug fix reported by sugandha-tiwari (thanks!)