harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm] why not use a defined constant for max int?
Date Mon, 16 Oct 2006 23:32:51 GMT
stdint.h

Ivan Volosyuk wrote:
> On 10/17/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
>> When reviewing HARMONY-1672, there are bits like
>>
>>     res.i = (int32)2147483647;
>>
>> (not part of the patch, but surrounding code...)
>>
>> What is the downside for using INT32_MAX or something portable and
>> appropriate?  Wouldnt' that make the code more readable?
>>
>> geir
> 
> It is good to use something like. Is it really portable? I cannot find
> this define in MSVC.
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message