Conversion from IEEE754

Hello, is there a way to convert IEEE754 format to 1750a 32 bit or 48 bit format?

5 Comments

1750A here appears to refer to MIL-STD-1750A, a military computer specification from 1980.
I have not yet found any information about the 48 bit format, but the 32 bit floating point format uses
f * 2^e
where f is a 24 bit 2's complement fraction with no bias, and e is an 8 bit 2's complement exponent with no bias.
I have not yet located the bit ordering information.
Pika
Pika on 24 Feb 2011
I think I found some information on it. however, i'm new to simulink and not sure how to implement this. any advice?
It would help people if you could post the links to the format descriptions (or just the descriptions themselves if they are short enough.)
I won't be able to help you directly with the Simulink aspect, but I might be able to suggest matlab conversion code.
Pika
Pika on 24 Feb 2011
Here is the link to the format I'm using. It is section 5.0 for extended precision.
https://wsmrc2vger.wsmr.army.mil/rcc/manuals/106-09/appendixO.pdf
Umar
Umar on 15 Jul 2024
Hi Pika,
One possible approach would be created a custom MATLAB function block that implements the conversion algorithm, then write MATLAB code within the block to perform the conversion logic from IEEE754 to 1750A format.

Sign in to comment.

Answers (0)

Products

Asked:

on 24 Feb 2011

Commented:

on 15 Jul 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!