def f64_as_int64(builder, val):
 assert (val.type == Type.double())
 return builder.bitcast(val, Type.int(64))

def f64_as_int64 ( builder , val ) : assert ( val . type == Type . double ( ) ) return builder . bitcast ( val , Type . int ( 64 ) )
bitcast a double into a 64-bit integer .