precs of BigDecimal
require 'bigdecimal' puts BigDecimal("2").precs # => [4, 8] puts BigDecimal("2.000000000000").precs # => [4, 20] puts BigDecimal("2.000000000001").precs # => [16, 20]