Lines Matching refs:m
18 import math as m namespace
98 p = 3*int(m.log(abs(x)*10, 10**3))
117 p = 10*int(m.log(abs(x)*10, 2**10))
253 if m.isinf(x) or m.isnan(x):
265 return m.log(x)+1
267 return -m.log(-x)-1
611 if self_i < len(self_xweights) else m.inf)
613 if other_i < len(other_xweights) else m.inf)
632 if self_i < len(self_xweights) else m.inf)
650 if other_i < len(other_xweights) else m.inf)
662 if self_i < len(self_xweights) else m.inf)
665 if other_i < len(other_xweights) else m.inf)
709 if self_i < len(self_yweights) else m.inf)
711 if other_i < len(other_yweights) else m.inf)
730 if self_i < len(self_yweights) else m.inf)
748 if other_i < len(other_yweights) else m.inf)
760 if self_i < len(self_yweights) else m.inf)
763 if other_i < len(other_yweights) else m.inf)
1076 widths = [m.floor(w*width_) for w in grid.xweights]
1077 heights = [m.floor(w*height_) for w in grid.yweights]