[作业] compiler hw4

楼主: robertshih (施抄)   2009-05-31 14:47:45
what do we do with floating point constants?
we can't store them, as we only have int types;
we can't compute/compare them in expressions involving int variables,
as conversion are not allowed.
the only thing left to do, it seems to me, is comparison between
floating constants expressions, ie something like this:
if(3.14159265^2.71828183 > 2.71828183^3.14159265)
/*do something*/
certainly i am reading into the spec correctly?
楼主: robertshih (施抄)   2009-05-31 16:55:00
我觉得你这样对英文不好的同学很失礼sorry不爽不要答

Links booklink

Contact Us: admin [ a t ] ucptt.com