objective c - Whats different between two values -


this question has answer here:

what's different between:

cgfloat gray[4] = {0.9f, 0.9f, 0.9f, 1.0f}; 

and

cgfloat gray[4] = {0.9, 0.9, 0.9, 1.0}; 

?

i think same don't know sure.

i believe indicating number float (i.e. single-precision floating point) opposed double (double-precision floating point),


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -