summary refs log tree commit diff stats
path: root/tests/float/tissue5821.nim
blob: e8aa4a1d910799bd6c2267f1e390d17a06e58a3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
discard """
  file: "tissue5821.nim"
  output: ''''''
"""
proc main(): void =
  let a: float32 = 47.11'f32
  doAssert a == 47.11'f32

  let b: float64 = 10.234402823e+38'f64
  doAssert b != 10.123402823e+38'f64
  doAssert b == 10.234402823e+38'f64

main()