summaryrefslogtreecommitdiff
path: root/spec/ruby/library/bigdecimal/double_fig_spec.rb
blob: 3ab5c2f207f5f294d12fae613fce504774f17bc9 (plain)
1
2
3
4
5
6
7
8
9
require File.expand_path('../../../spec_helper', __FILE__)
require 'bigdecimal'

describe "BigDecimal.double_fig" do
  # The result depends on the CPU and OS
  it "returns the number of digits a Float number is allowed to have" do
    BigDecimal.double_fig.should_not == nil
  end
end