github.com/thanos-io/thanos@v0.32.5/pkg/query/testdata/promql/prometheus/literals.test (about)

     1  eval instant at 50m 12.34e6
     2  	12340000
     3  
     4  eval instant at 50m 12.34e+6
     5  	12340000
     6  
     7  eval instant at 50m 12.34e-6
     8  	0.00001234
     9  
    10  eval instant at 50m 1+1
    11  	2
    12  
    13  eval instant at 50m 1-1
    14  	0
    15  
    16  eval instant at 50m 1 - -1
    17  	2
    18  
    19  eval instant at 50m .2
    20  	0.2
    21  
    22  eval instant at 50m +0.2
    23  	0.2
    24  
    25  eval instant at 50m -0.2e-6
    26  	-0.0000002
    27  
    28  eval instant at 50m +Inf
    29  	+Inf
    30  
    31  eval instant at 50m inF
    32  	+Inf
    33  
    34  eval instant at 50m -inf
    35  	-Inf
    36  
    37  eval instant at 50m NaN
    38  	NaN
    39  
    40  eval instant at 50m nan
    41  	NaN
    42  
    43  eval instant at 50m 2.
    44  	2
    45  
    46  eval instant at 50m 1 / 0
    47  	+Inf
    48  
    49  eval instant at 50m ((1) / (0))
    50  	+Inf
    51  
    52  eval instant at 50m -1 / 0
    53  	-Inf
    54  
    55  eval instant at 50m 0 / 0
    56  	NaN
    57  
    58  eval instant at 50m 1 % 0
    59  	NaN