When you do A[0,0], you get a python number.
Python numbers can only be int or float. These naming have nothing to do with precision and can represent respectively the LongTensor and DoubleTensor types.