If you work with a Tensor of type DoubleTensor, all your operations will have a double precision.
If you perform operations that return a python number, then you get the precision of a python number: https://docs.python.org/2/library/stdtypes.html#typesnumeric 40 (which is in general equivalent to a C double).