IOM 2020, Блиц — Задача 63

The Blitz-contest of IOM-2020

Условие

Binary-16 floating-point format is assumed to have an implicit lead bit with value 1 unless the exponent field is stored with all zeros. Thus only 10 bits of the significand appear in the memory format but the total precision is 11 bits. The format is laid out as follows:

Diagram of the 16-bit layout: one light-blue sign bit, five green exponent bits labelled 'exponent (5 bit)' and ten red fraction bits labelled 'fraction (10 bit)'; bit positions 15, 10 and 0 are marked below.

Floating-point value is (−1)signbit×2exponent−15×1.significantbits2(-1)^{signbit} \times 2^{exponent-15} \times 1.significantbits_2.

Calculate the binary-16 floating-point representation of −192.5-192.5. Answer must contain 16 bits without blanks.

Отговори

Решение

Внимание: Непълно решение

The source contains only the answer key, no worked solution.


Оригинал в Архива: iom-2020-blitz-tasks.pdf · официални решения: iom-2020-blitz-answers.pdf