@Test
    public void testTensorCellTypeRenderingPrecision() {
        assertEncodeShortForm(Tensor.Builder.of("tensor<double>(x[1])").cell(1.0/3, 0).build(),
                              "{\"type\":\"tensor(x[1])\",\"values\":[0.3333333333333333]}");
        assertEncodeShortForm(Tensor.Builder.of("tensor<float>(x[1])").cell((float)1.0/3, 0).build(),
                              "{\"type\":\"tensor<float>(x[1])\",\"values\":[0.3333333432674408]}");
    }
All cell types are rendered as double.
vespajlib/src/test/java/com/yahoo/tensor/serialization/JsonFormatTestCase.java