what is the bit width of integer on WindowsXP?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Now I am interesting in the X64 oprating system, and compared the EMT64 and
A64 to find the meaning of the 64-bit.
the question is that on the 64-biit windows XP oerating system, what is the
bit width of an integer, 32 bit or 64 bit?
I think that depends on the compiler, and i want to know the which one the
next generation compiler such as VS 2005 will choose.
thanks very much
 
Please repost your inquiry in the new Windows 64-bit newsgroup:
news://msnews.microsoft.com/microsoft.public.windows.64bit.general

or

Discussions in Windows 64-bit Edition
http://www.microsoft.com/communitie...ft.public.windows.64bit.general&lang=en&cr=US

--
Carey Frisch
Microsoft MVP
Windows - Shell/User
Microsoft Community Newsgroups
news://msnews.microsoft.com/

-------------------------------------------------------------------------------------------

:

| Now I am interesting in the X64 oprating system, and compared the EMT64 and
| A64 to find the meaning of the 64-bit.
| the question is that on the 64-biit windows XP oerating system, what is the
| bit width of an integer, 32 bit or 64 bit?
| I think that depends on the compiler, and i want to know the which one the
| next generation compiler such as VS 2005 will choose.
| thanks very much
 
Tianbing said:
Now I am interesting in the X64 oprating system, and compared the EMT64
and
A64 to find the meaning of the 64-bit.
the question is that on the 64-biit windows XP oerating system, what is
the
bit width of an integer, 32 bit or 64 bit?
I think that depends on the compiler, and i want to know the which one the
next generation compiler such as VS 2005 will choose.
thanks very much

If you follow good coding practices and especially make sure you have
verifiably type-safe code, you can port your managed code to native 64bit
without any source changes at all. The pointer size of 32 or 64 bit and
type alignment will be determined automatically.

However, if you have done things like make direct comparisons for equality
in floating point numbers (i.e. if BalanceDue == AmountTendered) you will
likely have to do some refactoring.

carl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top