Address PR feedback: format Inf and NaN as monospace

Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
Charles Korn 2025-07-01 20:07:07 +10:00
parent 9c6916f4f9
commit 70df21a680
No known key found for this signature in database

View File

@ -46,8 +46,8 @@ following:
by the scalar on the right hand side (RHS). All bucket populations and the count
and the sum of observations are then divided by the scalar. A division by zero
results in a histogram with no regular buckets and the zero bucket population
and the count and sum of observations all set to +Inf, -Inf, or NaN, depending
on their values in the input histogram (positive, negative, or zero/NaN, respectively).
and the count and sum of observations all set to `+Inf`, `-Inf`, or `NaN`, depending
on their values in the input histogram (positive, negative, or zero/`NaN`, respectively).
* For `/` with a scalar on the LHS and a histogram sample on the RHS, and similarly for all
other arithmetic binary operators in any combination of a scalar and a