Search the Community
Showing results for tags 'float'.
Found 1 result
Float number to bitfield
Scord posted a topic in SystemC LanguageHello, firstly I would like to tell that I am totally new in SystemC, but have some experience in VHDL (6 months I have been designing and learning in it). Now I have jumped from VHDL to designing in C++ using a SystemC library. And my question is, is there any way to convert float number to bitfield or some logical vector which would represent this number? (I mean some function, or method or smt else). (My task is to convert float number to Double precision floating point format, and with it do some arithmetical operations). I have find some suggestions how to do that but none of them actually worked when I tried to build it. Can you give me some suggestion about how to do that please, or how would you do that? I would be really grateful to anybody who could give me something to catch on.