Questions tagged [32-bit]

In computer architecture, 32-bit integers, memory addresses, or other data units are those that are at most 32 bits (4 octets) wide. Also, 32-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size. 32-bit is also a term given to a generation of computers in which 32-bit processors are the norm.

The range of integer values that can be stored in 32 bits is 0 through 4,294,967,295. Hence, a processor with 32-bit memory addresses can directly access 4 GiB of byte-addressable memory.

The external address and data buses are often wider than 32 bits but both of these are stored and manipulated internally in the processor as 32-bit quantities. For example, the Pentium Pro processor is a 32-bit machine, but the external address bus is 36 bits wide, and the external data bus is 64 bits wide.

Source: Wikipedia (32-bit)

1381 questions
7
votes
3 answers

How do you read a 32-bit TIFF image in python?

I want to read 32-bit float image files with python to do some image analysis. I have tried import matplotlib.pyplot as plt im = plt.imread('path_to_file.tif') But, this only reads the data as 8-bit integer values. Is there a way to provide…
stevosn
  • 463
  • 1
  • 5
  • 12
7
votes
7 answers

How are numbers greater than 2^32 handled by a 32 bit machine?

I am trying to understand how calculations involving numbers greater than 232 happen on a 32 bit machine. C code $ cat size.c #include #include int main() { printf ("max unsigned long long = %llu\n", (unsigned long…
Lazer
  • 90,700
  • 113
  • 281
  • 364
7
votes
1 answer

How can I build for linux 32-bit with go1.6.2

Is there any combination of GOARCH and GOOS values which I can set in order to build ELF 32-bit binary?
duganets
  • 1,853
  • 5
  • 20
  • 31
7
votes
1 answer

ASLR Entropy Bits for Stack on Linux

I am looking at a presentation from MIT where they explain different types of ASLR implementations. For example, they point out that for static ASLR, stack has 19-bits of entropy. In my understanding, this means the stack base address can only be…
Jake
  • 16,329
  • 50
  • 126
  • 202
7
votes
2 answers

Java: 32-bit fp implementation of Math.sqrt()

The standard Math.sqrt() method seems pretty fast in Java already, but it has the inherent drawback that it is always going to involve 64-bit operations which does nothing but reduce speed when dealing with 32-bit float values. Is it possible to do…
user3765373
  • 353
  • 1
  • 2
  • 9
7
votes
2 answers

Enumeration set size in x64

I found that a SizeOf(set) i different in 32-bit and 64-bit, the example below shows 5 byte for 32-bit and 8 for 64-bit. But i found nothing information about changes in SizeOf(sets) for 64-bit. Is there any Embarcadero documentation about it or…
Denis Sletkov
  • 221
  • 1
  • 4
7
votes
1 answer

How to reliably specialize template with intptr_t in 32 and 64 bit environments?

I have a template I want to specialize with two int types, one of them plain old int and another one is intptr_t. On 64 bit platform they have different sizes and I can do that with ease but on 32 bit both types are the same and compiler throws an…
vava
  • 24,851
  • 11
  • 64
  • 79
7
votes
4 answers

What are the actual performance differences between Int64 and Int32 on 32 and 64 bit MS Windows?

What are the actual performance differences between Int64 and Int32 on 32 and 64 bit MS Windows? It would also be great to see some actual timings of Int64 vs Int32 on each of the two operating system variants. XP or Vista would also be…
Thomas Bratt
  • 48,038
  • 36
  • 121
  • 139
7
votes
2 answers

readdir() 32/64 compatibility issues

I'm trying to get some old legacy code working on new 64-bit systems, and I'm currently stuck. Below is a small C file I'm using to test functionality that exists in the actual program that is currently breaking. #define _POSIX_SOURCE #include…
PKFiyah
  • 81
  • 6
7
votes
3 answers

Which Eclipse for Android?

Should I use 32-bit Eclipse or 64-bit Eclipse for Android development? Im on a MacBook Pro (Core 2 Duo). Does it matter which version for Android coding?
Eno
  • 10,730
  • 18
  • 53
  • 86
7
votes
2 answers

Compile Console App as 32 bit

I have a Windows Console Application that I need to compile as 32 bit. It's written in C# and I have all the Visual Studio 2012 updates. I've tried following several things on here, but I'm never given an option for 32 bit. How can I compile it as…
user3147424
  • 3,022
  • 5
  • 19
  • 22
7
votes
3 answers

Running on 32 or 64 bit matlab?

How can I determine if I'm running on a 32bit or a 64bit version of matlab? I have some pre-compiled mex-files which need different path's depending on 32/64bit matlab.
peje
  • 350
  • 1
  • 3
  • 13
7
votes
3 answers

get the filesize of very large .gz file on a 64bit platform

According to the specifiction of gz the filesize is saved in the last 4bytes of a .gz file. I have created 2 files with dd if=/dev/urandom of=500M bs=1024 count=500000 dd if=/dev/urandom of=5G bs=1024 count=5000000 I gziped them gzip 500M 5G I…
monkeyking
  • 6,670
  • 24
  • 61
  • 81
7
votes
1 answer

Creating 32 bit JavaFx Native Bundle in 64 bit machine

I have my machine and IDE with following configuration Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) The JavaFx…
Neil
  • 5,919
  • 15
  • 58
  • 85
7
votes
4 answers

How to develop to take advantage of 64 bit systems?

Is there any specific sectors of Software Engineer/Computer Science where there's a marked difference when developing for 64 bit systems? I've been coding for around 10 years now, and since the break of 64 bit systems, my code hasn't changed one…
Mike Trpcic
  • 25,305
  • 8
  • 78
  • 114