Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (divanshu):

if C standards define some value upto 6 digit precision and i change it to higher precision in my code, will this be violation of c standards ?

OpenStudy (anonymous):

you mean casting a float to a double? Perfectly legal.

OpenStudy (anonymous):

the single precision floats in C use http://en.wikipedia.org/wiki/IEEE_754-2008

OpenStudy (anonymous):

You may 'violate' C standards whenever you want to. Code portability, bye bye!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!