IEEE 754r Half Precision floating point converter

Converts MATLAB or C variables to/from IEEE 754r Half Precision floating point bit pattern.

Download
Download

You are now following this Submission

Cite As

James Tursa (2026). IEEE 754r Half Precision floating point converter (https://uk.mathworks.com/matlabcentral/fileexchange/23173-ieee-754r-half-precision-floating-point-converter), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Updated for rounding modes, new directives, interleaved complex, OpenMP multi-threading

Download
1.1.0

An addition file is included, ieeehalfprecision.c, that contains C code to convert between IEEE double, single, and half precision floating point formats. The intended use is for standalone C code that does not rely on MATLAB mex.h.

Download
1.0.0

Download