User Tools

Site Tools


notes:discrete:fall2022:projects:lmr2

This is an old revision of the document!


BACKGROUND

Here is a link to a wikipedia article describing how the binary32 (also known as float in C) format works within the IEEE 754 standard: https://en.wikipedia.org/wiki/Single-precision_floating-point_format

For those who prefer a video format, here are some videos to help explain the standard:
Basics of IEEE 754: https://www.youtube.com/watch?v=RuKkePyo9zk
Floating Point Addition: https://www.youtube.com/watch?v=aH11flclJDI
Floating Point Subtraction: https://www.youtube.com/watch?v=JnorFLL86DE

SPECIFICATIONS

Math functions should perform float operations following the IEEE 754 standard. You should have a demo showing off the functionality of the math functions you have made. The way you do this is up to you, but if you have any questions whether your demo is up to standard, you should ask in discord before submitting.

OUTPUT SPECIFICATIONS

Your display demo should output the result of whatever math function you are displaying.

PROGRAM

EXAMPLES

VERIFICATION

No verification script this week. Better luck next ti… wait there isn't a next time! Anyways, all verification will be manual for lmr2. Since we're working with 32 bit arrays this week, if your demo is based on user input, it might be easier to comment out the demo and manually set the array's to values you want to test.

PSEUDOCODE

notes/discrete/fall2022/projects/lmr2.1668095723.txt.gz · Last modified: 2022/11/10 15:55 by hcordell