Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
numba / tests / true_div_usecase.py
Size: Mime:
from __future__ import division


# These functions have their own module in order to be compiled with the right
# __future__ flag (and be tested alongside the 2.x legacy division operator).

def truediv_usecase(x, y):
    return x / y

def itruediv_usecase(x, y):
    x /= y
    return x