Solved by ptrblck in post #2 
              
              
                The complete float32 number will be used. The print(x) uses the default print options, which truncate the output. 
You can increase the print precision via: torch.set_printoptions(precision=10) (or to any other value).