All Questions
1 question
0
votes
0
answers
1k
views
How to obtain the half precision floating point representation of a number?
I want to obtain the binary representation of a variable x in half precision floating point representation. x can be anything (like -1.25 or 10 etc). I have tried quite a few things but can't really ...