835cd395cdb4800dd02365cf508d6ca0702920eb,mathics/builtin/inout.py,,number_form,#Any#Any#Any#Any#Any#,172
Before Change
right = right + (f - len(right)) * options["NumberPadding"][1]
elif len(right) > f:
// round right
right = str(int(round(int(right) * 10**(f - len(right)))))
def split_string(s, start, step):
if start > 0:
yield s[:start]
After Change
// round right
tmp = int(left + right)
tmp *= 10 ** (f - len(right))
tmp = str(int(round(tmp)))
left, right = tmp[:exp + 1], tmp[exp + 1:]
def split_string(s, start, step):
if start > 0:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: mathics/Mathics
Commit Name: 835cd395cdb4800dd02365cf508d6ca0702920eb
Time: 2016-09-05
Author: 16sn6uv@gmail.com
File Name: mathics/builtin/inout.py
Class Name:
Method Name: number_form
Project Name: pgmpy/pgmpy
Commit Name: 967bf4dbc1353e05dcecfc24c78d9c31b7b50bb8
Time: 2016-05-31
Author: yashuseth2503@gmail.com
File Name: pgmpy/continuous/discretize/unbiased.py
Class Name: UnbiasedDiscretizer
Method Name: get_labels
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 04364aad43287de3b548a8ce8ab40b8879637648
Time: 2017-01-17
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/target_simulators/INI_target_sim.py
Class Name: SNN
Method Name: run