https://github.com/Helium4Haskell/lvm
Tip revision: 7a44a05b695602cb141014fc38e076752711dc59 authored by Ivo Gabe de Wolff on 04 February 2020, 16:32:17 UTC
Fix pretty printing of 'export' and 'from'
Fix pretty printing of 'export' and 'from'
Tip revision: 7a44a05
floatshow.core
module Float where
extern float "float_of_string" :: "Fz"
extern stringFromFloat "string_of_float" :: "aFII"
extern sqrt "fp_sqrt" :: "FF"
instruction fpmul "mulfloat" :: Float! -> Float! -> Float!
main = let! x = float "3.1425"
y = fpmul x x
z = sqrt y
in stringFromFloat z 3 0