---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 9007199254740993
   ·         ────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 9007199254740.993e3
   ·         ───────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 9.007199254740993e15
   ·         ────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:10]
 1 │ var x = -9007199254740993
   ·          ────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 900719.9254740994
   ·         ─────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:10]
 1 │ var x = -900719.9254740994
   ·          ─────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 900719925474099_3
   ·         ─────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 90_0719925_4740.9_93e3
   ·         ──────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 9.0_0719925_474099_3e15
   ·         ───────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:10]
 1 │ var x = -9_00719_9254_740993
   ·          ───────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 900_719.92_54740_994
   ·         ────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:10]
 1 │ var x = -900_719.92_5474_0994
   ·          ────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 5123000000000000000000000000001
   ·         ───────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:10]
 1 │ var x = -5123000000000000000000000000001
   ·          ───────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 1230000000000000000000000.0
   ·         ───────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 1.0000000000000000000000123
   ·         ───────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 17498005798264095394980017816940970922825355447145699491406164851279623993595007385788105416184430592
   ·         ─────────────────────────────────────────────────────────────────────────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 2e999
   ·         ─────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = .1230000000000000000000000
   ·         ──────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0b100000000000000000000000000000000000000000000000000001
   ·         ────────────────────────────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0B100000000000000000000000000000000000000000000000000001
   ·         ────────────────────────────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0o400000000000000001
   ·         ────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0O400000000000000001
   ·         ────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0400000000000000001
   ·         ───────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0x20000000000001
   ·         ────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0X20000000000001
   ·         ────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 5123_00000000000000000000000000_1
   ·         ─────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:10]
 1 │ var x = -5_12300000000000000000000_0000001
   ·          ─────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 123_00000000000000000000_00.0_0
   ·         ───────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 1.0_00000000000000000_0000123
   ·         ─────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 174_980057982_640953949800178169_409709228253554471456994_914061648512796239935950073857881054_1618443059_2
   ·         ───────────────────────────────────────────────────────────────────────────────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 2e9_99
   ·         ──────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = .1_23000000000000_00000_0000_0
   ·         ──────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0b1_0000000000000000000000000000000000000000000000000000_1
   ·         ──────────────────────────────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0B10000000000_0000000000000000000000000000_000000000000001
   ·         ──────────────────────────────────────────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0o4_00000000000000_001
   ·         ──────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0O4_0000000000000000_1
   ·         ──────────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0x2_0000000000001
   ·         ─────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 0X200000_0000000_1
   ·         ──────────────────
   ╰────

  ⚠ eslint(no-loss-of-precision): This number literal will lose precision at runtime.
   ╭─[no_loss_of_precision.tsx:1:9]
 1 │ var x = 1e18_446_744_073_709_551_615
   ·         ────────────────────────────
   ╰────
