Skip to content

LLVM: cast float to double for printing

Ondřej Čertík requested to merge certik/lfortran:float into master

This fixes printing of floating point:

>>> print *, 4                                                                                                                                                           1,11  ]
4
>>> print *, 4.4                                                                                                                                                         1,13  ]
4.400000

Our testing infrastructure would have to be updated to actually run the code and capture stdout, so for now this is untested.

Merge request reports