tissue5821.nim 241 B

12345678910111213141516
  1. discard """
  2. output: "ok"
  3. """
  4. proc main(): void =
  5. let a: float32 = 47.11'f32
  6. doAssert a == 47.11'f32
  7. let b: float64 = 10.234402823e+38'f64
  8. doAssert b != 10.123402823e+38'f64
  9. doAssert b == 10.234402823e+38'f64
  10. echo "ok"
  11. main()