Adding support to generate random numbers of type half.