PageRenderTime 40ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/test2/gmpy_truediv.py

http://gmpy.googlecode.com/
Python | 5 lines | 5 code | 0 blank | 0 comment | 0 complexity | f81509ddd481d5c7a91c6eedc444be19 MD5 | raw file
Possible License(s): GPL-3.0, LGPL-3.0, LGPL-2.1
  1. ''' make a "true division" function available for testing '''
  2. from __future__ import division
  3. def truediv(a, b): return a/b