I have a homework problem that I am being asked the following....
Write typedef statements that make both Real and SinglePrecision synonyms for float
I just want to verify this is correct
typedef float Real;
typedef float Singleprecision;
I have a homework problem that I am being asked the following....
Write typedef statements that make both Real and SinglePrecision synonyms for float
I just want to verify this is correct
typedef float Real;
typedef float Singleprecision;
Did you compile it?
I mean this is 6 hours later, and it's at best a 30 second job to write a few line test program to see if you can do
Real myvar = 1.0;
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.