Base.bitstringMethod

Like bitstring(x) but with bitstring(x,:split) showing the bits split into sign, exponent and mantissa bits.

StochasticRounding.rand_subnormalMethod
rand_subnormal(rbits::UInt32) -> Float32

Create a random perturbation for the Float16 subnormals for stochastic rounding of Float32 -> Float16. This function samples uniformly from [-2.980232f-8,2.9802319f-8]. = [-u/2,u/2]. This function is algorithmically similar to randfloat from RandomNumbers.jl

StochasticRounding.rand_subnormalMethod
rand_subnormal(rbits::UInt64) -> Float64

Create a random perturbation for the Float16 subnormals for stochastic rounding of Float32 -> Float16. This function samples uniformly from [-7.0064923216240846e-46,7.006492321624084e-46]. This function is algorithmically similar to randfloat from RandomNumbers.jl