2. Built-in Data Types
2. Built-in Data Types
2. Built-in Data Types
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
• To represent a negative number, you can usethe first bit for a sign• This is almost what is done <strong>in</strong> most computers• Leftmost bit is for the sign (0 for +, 1 for -)• But two’s complement notation is used• (Details <strong>in</strong> homework)• For decimals, float<strong>in</strong>g-po<strong>in</strong>t format is used: twonumbers are stored• Base• Mantissa• (Details later)14