epsilon calculation for int and float added