<commit_before>require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'
require File.dirname(__FILE__) + '/shared/log2'

platform_is :version => '1.9.0' do
  describe "Math.log2" do
    it_behaves_like(:math_log2, :log2)
  end
end

extended_on :rubinius do
  describe "Math.log2" do
    it_behaves_like(:math_log2, :log2)
  end
end
  <commit_msg>Restrict specs in spec/ruby/1.8 to current stable 1.8 version.<commit_after>require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'
require File.dirname(__FILE__) + '/shared/log2'

extended_on :rubinius do
  describe "Math.log2" do
    it_behaves_like(:math_log2, :log2)
  end
end
  
{'fraction_non_alphanumeric': 0.13972602739726028, 'fraction_numerical': 0.024657534246575342, 'mean_word_length': 4.455223880597015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '349591', 'n_tokens_mistral': 269, 'n_tokens_neox': 260, 'n_words': 57}