```
let inline set (x: ^t) = BitConverter.ToUInt32(BitConverter.GetBytes(x),0)

```

I've tried something like the above, but it does not work. Neither do type constraints or runtime resolved types. Also, I am guessing the answer is no, but would it be possible to tell the compiler that the generic type is simply float32 or float? It would save me a lot of bother.

Edit:

I am surprised that what Tomas Petricek wrote works while the reverse does not:

```
let inline toUint32 conv x = 
  let bytes = conv x
  BitConverter.ToUInt32(bytes, 0)

toUint32 BitConverter.GetBytes 9999.99f 
toUint32 BitConverter.GetBytes 9999.99 

```

This is interesting. And neither can I make it work without the `conv : BitConvertible` in the other post.