I did the same thing, recalling "There are Only Four Billion Floats–So Test Them All!" [0]. Except I used Python, so it took over 10 minutes:
>>> import struct
>>> count = 0
>>> for i in range(0x1_0000_0000):
... f = struct.unpack('<f', struct.pack('<I', i))[0]
... if 0 <= f <= 1: count += 1
...
>>> count
1065353218
[0] https://randomascii.wordpress.com/2014/01/27/theres-only-fou...