/test3/gmpy_truediv.py

http://gmpy.googlecode.com/ · Python · 5 lines · 5 code · 0 blank · 0 comment · 0 complexity · f81509ddd481d5c7a91c6eedc444be19 MD5 · raw file

  1. ''' make a "true division" function available for testing '''
  2. from __future__ import division
  3. def truediv(a, b): return a/b