From a17cb167ea5e0f0690a94d8f39b821a43aebd456 Mon Sep 17 00:00:00 2001 From: kou Date: Mon, 15 Oct 2012 12:53:12 +0000 Subject: * benchmark/: add missing spaces around assignment operators (= and +=) for consistency. Approved by ko1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/bm_vm1_float_simple.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmark/bm_vm1_float_simple.rb') diff --git a/benchmark/bm_vm1_float_simple.rb b/benchmark/bm_vm1_float_simple.rb index 46e3f2aaed..d4581439ff 100644 --- a/benchmark/bm_vm1_float_simple.rb +++ b/benchmark/bm_vm1_float_simple.rb @@ -1,6 +1,6 @@ -i= 0.0; f = 0.0 +i = 0.0; f = 0.0 while i<30_000_000 - i+= 1 + i += 1 f += 0.1; f -= 0.1 f += 0.1; f -= 0.1 f += 0.1; f -= 0.1 -- cgit v1.2.3