-
Dylan Baker authored
in python2 without future division the division operator is retarded: 1/2 = 0 1/2.0 = 0.5 In python3 or python2 with future division there are two division operators: / and //, and they behave sanely: 1/2 = 0.5 1//2 = 0 1/2.0 = 0.5 1//2.0 = 0.0 This is obviously necessary for porting to python3 to get the same behavior between the python2 and the python3 generators. This generator produces teh same result before and after this change. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
7edd2133