def int32_as_f32(builder, val):
 assert (val.type == Type.int(32))
 return builder.bitcast(val, Type.float())

def int32_as_f32 ( builder , val ) : assert ( val . type == Type . int ( 32 ) ) return builder . bitcast ( val , Type . float ( ) )
bitcast a 32-bit integer into a float .