harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk" <ivan.volos...@gmail.com>
Subject Re: [drlvm] why not use a defined constant for max int?
Date Mon, 16 Oct 2006 23:03:45 GMT
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.

Intel Enterprise Solutions Software Division

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

View raw message