When compiling in 64 bit, is there a way to declare a float32?

Hello, When compiling in 64 bit, is there a way to declare a float32?

I tried searching but I could not find anything.

When I use: “float myfloat;” it gives me a 64 bit float. Is there something like “float32 myfloat;” that I can use when in 64 bit mode?

Thank you.

No it doesn’t. float is a 32 bit single precision type. double is a 64 bit double precision type. If you declare a float, you have a 32 bit floating point variable.

No it doesn’t. float is a 32 bit single precision type. double is a 64 bit double precision type. If you declare a float, you have a 32 bit floating point variable.

I double checked my code some more and realized i was looking at the 64 bit address. Thank you avidday for your help - I probably would have kept searching for a “float32” solution.

I double checked my code some more and realized i was looking at the 64 bit address. Thank you avidday for your help - I probably would have kept searching for a “float32” solution.