apfloat v. 2.41

Last updated: April 24th, 2006

Download the package here:

Program documentation in postscript format (37 pages, A4 format) or the same in PDF format. If you don't know what postscript is or don't have a postscript printer you might want to get Ghostscript. If you prefer PDF, you may need to get Adobe Acrobat Reader.

If you don't have a suitable compiler or assembler, try these first:

You can use the File Selection and Configuration utility to pick the apfloat zip files you need to download, or follow the manual steps below.

1. You need the common source files:

Download the common source files apf241.zip for version 2.41 required to compile the program.

2. In addition you need a set of files depending on your system:

Operating system, compiler and CPU32-bit version file(s)64-bit version file(s)
Specialized versions
Microsoft Visual C++ and Macro Assembler, optimized for the Pentium series 32_vc.zip 64_vc.zip
Linux gcc, optimized for Pentium series 32_586_l.zip 64_586_l.zip
Linux gcc, optimized for 386/486 32_486_l.zip N/A
djgpp (v.2), optimized for Pentium series 32_586_2.zip 64_586_2.zip
djgpp (v.2), optimized for 386/486 32_486_2.zip N/A
Borland C++ 5.5 and Turbo Assembler, optimized for Pentium series 32_bcc32.zip 64_bcc32.zip
Windows GUI version for Microsoft Visual C++ and Macro Assembler, optimized for Pentium series 32_vc_w.zip N/A
Windows GUI version for Borland C++ 5.5 and Turbo Assembler, optimized for Pentium series 32_win32.zip N/A
x86-64 (AMD-64 or Intel EM64T) gcc N/A 64_x86l.zip
IA-64 (Itanium) gcc N/A 64_ia64l.zip
Mac OS X PPC (G4 32-bit, G5 64-bit) gcc, contributed by Chris Hauser 32_ppc_g4.zip 64_ppc_g5.zip
Mac OS X PPC G4 Xcode 1.5, contributed by Chris Hauser xcode.zip N/A
DEC Alpha gcc N/A 64_alpha.zip
MIPS R4000 (and greater) gcc N/A 64_mips.zip
Generic versions
Any generic C++ compiler 32_ansi.zip N/A
Generic UNIX gcc 32_unix.zip 64_unix.zip
Generic UNIX gcc, allows slightly greater precision 32u_unix.zip N/A
Floating-point version (floats and doubles) fs.zip f.zip
Microsoft Visual C++, does NOT need Macro Assembler 32_vc_a.zip
Windows GUI version for Microsoft Visual C++, does NOT need Macro Assembler 32_vc_wa.zip
Borland C++ 5.5, doesn't need Turbo Assembler 32_bcc_a.zip
Windows GUI version for Borland C++ 5.5, does NOT need Turbo Assembler 32_win_a.zip
Additional files for multithreaded versions
Windows (Win32), needs an assembler win32_t.zip N/A
Windows (Win32), doesn't need an assembler win32_ta.zip win32_ta.zip
Posix threads (pthread), for UNIX pthread.zip pthread.zip

3. Step-by-step installation instructions:

  1. Choose and download the files for the version you want. Pick the correct files for your processor, operating system, compiler, and select either the 32-bit or the 64-bit version.
  2. First unzip the common source files package, apf241.zip, to an empty directory.
  3. Then unzip the version-specific package(s) (like 32_vc.zip) to the same directory. Be sure to OVERWRITE all files. From the command line, unzip with the -o switch. With WinZip, just say Yes to overwrite all files.
  4. Compile the library, or whatever you want. Depending on the version you downloaded, you may need to execute from the command line e.g. "make lib" or "nmake aptest.exe" etc.
Note: Unix and Linux users should unzip the files with the -a and -L options.

Read the files legal.txt and readme.1st in the source package, especially if you don't read the full documentation.

Back to the apfloat page.