haas:fall2023:discrete:projects:blf0
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
haas:fall2023:discrete:projects:blf0 [2024/04/12 07:16] – external edit 127.0.0.1 | haas:fall2023:discrete:projects:blf0 [2024/04/12 07:18] (current) – [Process] wedge | ||
---|---|---|---|
Line 27: | Line 27: | ||
====Process==== | ====Process==== | ||
- | Walking through the decoding scheme, we'll start with an instance of IEEE754-encoded data: **C378C000** | + | Walking through the decoding scheme, we'll start with an instance of IEEE754-encoded data: **0xC378C000** |
The first step is to visualize it in binary so we can proceed to divide it into its distinct components. Doing a simple hexadecimal to binary conversion yields: | The first step is to visualize it in binary so we can proceed to divide it into its distinct components. Doing a simple hexadecimal to binary conversion yields: | ||
Line 93: | Line 93: | ||
* < | * < | ||
- | Therefore, **C378C000** decodes as **-248.75** | + | Therefore, **0xC378C000** decodes as **-248.75** |
=====TASK===== | =====TASK===== | ||
Your task is to write a program that will take in various encoded IEEE754 binary values, and to decode and ultimately display the decoded value. | Your task is to write a program that will take in various encoded IEEE754 binary values, and to decode and ultimately display the decoded value. |
haas/fall2023/discrete/projects/blf0.txt · Last modified: 2024/04/12 07:18 by wedge