From 4f11bc5c4d589a1ae2c791abc4f901f40b5b42cf Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Mon, 15 Jul 2019 16:41:21 -0400 Subject: [PATCH] Update region lines parsing to round to +/- MAX_VALUE --- index.bs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/index.bs b/index.bs index d93e211..53c8692 100644 --- a/index.bs +++ b/index.bs @@ -2859,7 +2859,19 @@ Objects.

  • Interpret |value| as an integer, and let |number| be that number.

  • -
  • Let |region|'s WebVTT region lines be |number|.

  • +
  • Conversion: Let S be the set of finite IEEE 754 double-precision + floating-point values except −0, but with two special values added: + 21024 and −21024.

  • + +
  • Let |rounded-number| be the number in |S| that is closest to |number|, + selecting the number with an even significand if there are two equally close + values. (The two special values 21024 and −21024 + are considered to have even significands for this purpose.)

    + +
  • If |rounded-number| is 21024 or −21024, + jump to the step labeled next setting

  • + +
  • Let |region|'s WebVTT region lines be |rounded-number|.