summary refs log blame commit diff stats
path: root/tests/float/tfloat5.nim
blob: 0708838fc965fe8ab0f132b70f3307d82e5362c1 (plain) (tree)
1
2
3
4
5
6
7
           
           

       


       








                                
discard """
output: '''
0 : 0.0
0 : 0.0
0 : 0.0
0 : 0.0
'''
"""

import parseutils

var f: float
echo "*".parseFloat(f), " : ", f
echo "/".parseFloat(f), " : ", f
echo "+".parseFloat(f), " : ", f
echo "-".parseFloat(f), " : ", f