Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Binarica - Fast binary file reading
Author

Frank Iannarilli
Revision date

2003-04-28
Description

The Binarica notebook contains cells for fast reading of a binary file and conversion of its IEEE single-precision floating point byte stream into Mathematica (machine-precision) Reals. The processing maintains the (Mathematica 4.X) PackedArray representation so crucial to memory and speed efficiency.

Although crafted only for PC-endian byte format, and merely for IEEE single-precision, the methods provided are sufficiently generalizable by an interested user.
Subject

*Wolfram Technology > Kernel > Numerics
Keywords

binary, i/o, ieee, floating, float, byte
Downloads Download Wolfram CDF Player

Download
Binarica.nb (20.4 KB) - Mathematica Notebook
Download
binaricatest.dat (752 B) - Test data