def __trunc__(a):
        if a._numerator < 0:
            return -(-a._numerator // a._denominator)
        else:
            return a._numerator // a._denominator
.. todo::
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/fractions.py/Fraction.__trunc__--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/s3c.py/S3C.learn_mini_batch