Topic float2int rd for host

add host implementation for math::float2int_rd