summaryrefslogtreecommitdiff
path: root/spec/ruby/library/bigdecimal/double_fig_spec.rb
blob: f742d68f876f0acdb8742583b6eb5dbf1c95f7d5 (plain)
1
2
3
4
5
6
7
8
9
require_relative '../../spec_helper'
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