lol
lol

Reputation: 3390

Convert 10 bit number to mantissa-exponent and vice-versa

From: ST 2022-3:2010 - SMPTE Standard https://ieeexplore.ieee.org/document/7290021

How do I understand and do this:

Maximum_bit_rate (Mode 1 only): This field shall contain a 10-bit number where the first seven bits contain the mantissa value and the last 3 bits contain an exponent value defining the multiplier of 10 Kbs up to 1,280.0 Gbs.

As far as I understand

up to 1,280.0 Gbs

means not including that value?

Do I have to divide number by 10000 and represent in binary, so I am storing up to 128,000,000 in binary?

Upvotes: 0

Views: 289

Answers (1)

chqrlie
chqrlie

Reputation: 145277

The specification is unclear:

  • it does not specify if the 7 bit mantissa includes all significant bits or if there is an implied initial 1 as is the case for IEEE 32-bit and 64-bit floating point representations,

  • the 3 bit exponent value is probably not a shift count, it could be a power of 10 or more likely an index in a table of multipliers as the phrase defining the multiplier of 10 Kbs up to 1,280.0 Gbs indicates.

The document in reference is not available for free so there is no access to further information available to try and construct a function to convert these 10-bit values to an actual number.

Upvotes: 0

Related Questions