summary refs log blame commit diff stats
path: root/tests/float/tissue5821.nim
blob: c4f561f0903659696613f1019b07cc7104266452 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
           
            
   
 







                                       


           
discard """
output: "ok"
"""

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

  echo "ok"

main()