¼ÆËã»ú×é³ÉÔ­ÀíµÚ¶þ°æÌÆË··É¿ÎºóÏ°Ìâ´ð°¸.doc ÏÂÔر¾ÎÄ

x2= -27/1024= -0.0000011011B =

2-5*(-0.11011B£©

x3=7.375=111.011B=23*0.111011B x4=-86.5=-1010110.1B=27*(-0.10101101B

)

ÔòÒÔÉϸ÷ÊýµÄ¸¡µã¹æ¸ñ»¯ÊýΪ£º

£¨1£©[x1]¸¡=1£¬0001£»0.110 011 000 0 [x2]¸¡=1£¬0101£»1.110 110 000 0 [x3]¸¡=0£¬0011£»0.111 011 000 0 [x4]¸¡=0£¬0111£»1.101 011 010 0 £¨2£©[x1]¸¡=1£¬1111£»0.110 011 000 0 [x2]¸¡=1£¬1011£»1.001 010 000 0 [x3]¸¡=0£¬0011£»0.111 011 000 0 [x4]¸¡=0£¬0111£»1.010 100 110 0 £¨3£©[x1]¸¡=0£¬1111£»0.110 011 000 0 [x2]¸¡=0£¬1011£»1.001 010 000 0 [x3]¸¡=1£¬0011£»0.111 011 000 0 [x4]¸¡=1£¬0111£»1.010 100 110 0

13. ¸¡µãÊý¸ñʽͬÉÏÌ⣬µ±½×Âë»ùÖµ·Ö±ðÈ¡2ºÍ16ʱ£º £¨1£©ËµÃ÷2ºÍ16ÔÚ¸¡µãÊýÖÐÈçºÎ±íʾ¡£ £¨2£©»ùÖµ²»Í¬¶Ô¸¡µãÊýʲôÓÐÓ°Ï죿

£¨3£©µ±½×ÂëºÍβÊý¾ùÓò¹Âë±íʾ£¬ÇÒβÊý²ÉÓùæ¸ñ»¯ÐÎʽ£¬¸ø³öÁ½ÖÖÇé¿öÏÂËùÄܱíʾµÄ×î´óÕýÊýºÍ·ÇÁã×îСÕýÊýÕæÖµ¡£

½â£º£¨1£©½×Âë»ùÖµ²»ÂÛÈ¡ºÎÖµ£¬ÔÚ¸¡µãÊýÖоùΪÒþº¬±íʾ£¬¼´£º2ºÍ16²»³öÏÖÔÚ¸¡µã¸ñʽÖУ¬½öΪÈËΪµÄÔ¼¶¨¡£

£¨2£©µ±»ùÖµ²»Í¬Ê±£¬¶ÔÊýµÄ±íʾ·¶Î§ºÍ¾«¶È¶¼ÓÐÓ°Ïì¡£¼´£ºÔÚ¸¡µã¸ñʽ²»±äµÄÇé¿öÏ£¬»ùÔ½´ó£¬¿É±íʾµÄ¸¡µãÊý·¶Î§Ô½´ó£¬µ«¸¡µãÊý¾«¶ÈÔ½µÍ¡£ £¨3£©r=2ʱ£¬

×î´óÕýÊýµÄ¸¡µã¸ñʽΪ£º0£¬1111£»0.111 111 111 1

ÆäÕæֵΪ£ºN+max=215¡Á(1-2-10)

·ÇÁã×îС¹æ¸ñ»¯ÕýÊý¸¡µã¸ñʽΪ£º1£¬0000£»0.100 000 000 0

ÆäÕæֵΪ£ºN+min=2-16¡Á2-1=2-17

r=16ʱ£¬

×î´óÕýÊýµÄ¸¡µã¸ñʽΪ£º0£¬1111£»0.1111 1111 11

ÆäÕæֵΪ£ºN+max=1615¡Á£¨1-2-10£©

·ÇÁã×îС¹æ¸ñ»¯ÕýÊý¸¡µã¸ñʽΪ£º1£¬0000£»0.0001 0000 00

ÆäÕæֵΪ£ºN+min=16-16¡Á16-1=16-17

14. É踡µãÊý×Ö³¤Îª32룬Óû±íʾ¡À6Íò¼äµÄÊ®½øÖÆÊý£¬ÔÚ±£Ö¤ÊýµÄ×î´ó¾«¶ÈÌõ¼þÏ£¬³ý½×·û¡¢Êý·û¸÷È¡1λÍ⣬½×ÂëºÍβÊý¸÷È¡¼¸Î»£¿°´ÕâÑù·ÖÅ䣬¸Ã¸¡µãÊýÒç³öµÄÌõ¼þÊÇʲô£¿

½â£ºÈôÒª±£Ö¤ÊýµÄ×î´ó¾«¶È£¬Ó¦È¡½×ÂëµÄ»ùÖµ=2¡£

ÈôÒª±íʾ¡À6Íò¼äµÄÊ®½øÖÆÊý£¬ÓÉÓÚ32768£¨215£©< 6Íò <65536£¨216£©£¬

Ôò£º½×Âë³ý½×·ûÍ⻹Ӧȡ5루ÏòÉÏÈ¡2µÄÃÝ£©¡£ ¹Ê£ºÎ²ÊýλÊý=32-1-1-5=25λ 25£¨32£© ¸Ã¸¡µãÊý¸ñʽÈçÏ£º

½×·û£¨1룩 ½×Â루5룩 Êý·û£¨1룩 βÊý£¨25룩 °´´Ë¸ñʽ£¬¸Ã¸¡µãÊýÉÏÒçµÄÌõ¼þΪ£º½×Âë?25

15. ʲôÊÇ»úÆ÷Á㣿ÈôÒªÇóÈ«0±íʾ»úÆ÷Á㣬¸¡µãÊýµÄ½×ÂëºÍβÊýÓ¦²Éȡʲô»úÆ÷ÊýÐÎʽ£¿

½â£º»úÆ÷ÁãÖ¸»úÆ÷ÊýËù±íʾµÄÁãµÄÐÎʽ£¬ËüÓëÕæÖµÁãµÄÇø±ðÊÇ£º»úÆ÷ÁãÔÚÊýÖáÉϱíʾΪ¡°0¡±µã¼°Æ丽½üµÄÒ»¶ÎÇøÓò£¬¼´ÔÚ¼ÆËã»úÖÐСµ½»úÆ÷ÊýµÄ¾«¶È´ï²»µ½µÄÊý¾ùÊÓΪ¡°»úÆ÷Á㡱£¬¶øÕæÁã¶ÔÓ¦ÊýÖáÉϵÄÒ»µã£¨0µã£©¡£ÈôÒªÇóÓá°È«0¡±±íʾ¸¡µã»úÆ÷Á㣬Ôò¸¡µãÊýµÄ½×ÂëÓ¦ÓÃÒÆÂ롢βÊýÓò¹Âë±íʾ£¨´Ëʱ½×ÂëΪ×îС½×¡¢Î²ÊýΪÁ㣬¶øÒÆÂëµÄ×îСÂëÖµÕýºÃΪ¡°0¡±£¬²¹ÂëµÄÁãµÄÐÎʽҲΪ¡°0¡±£¬Æ´ÆðÀ´ÕýºÃΪһ´®0µÄÐÎʽ£©¡£

16£®Éè»úÆ÷Êý×Ö³¤Îª16λ£¬Ð´³öÏÂÁи÷ÖÖÇé¿öÏÂËüÄܱíʾµÄÊýµÄ·¶Î§¡£Éè»úÆ÷Êý²ÉÓÃһλ·ûºÅ룬´ð°¸¾ùÓÃÊ®½øÖƱíʾ¡£ £¨1£©ÎÞ·ûºÅÊý£»

£¨2£©Ô­Âë±íʾµÄ¶¨µãСÊý¡£ £¨3£©²¹Âë±íʾµÄ¶¨µãСÊý¡£ £¨4£©²¹Âë±íʾµÄ¶¨µãÕûÊý¡£

£¨5£©Ô­Âë±íʾµÄ¶¨µãÕûÊý¡£

£¨6£©¸¡µãÊýµÄ¸ñʽΪ£º½×Âë6루º¬1λ½×·û£©£¬Î²Êý10루º¬1λÊý·û£©¡£·Ö±ðд³öÆäÕýÊýºÍ¸ºÊýµÄ±íʾ·¶Î§¡£

£¨7£©¸¡µãÊý¸ñʽͬ£¨6£©£¬»úÆ÷Êý²ÉÓò¹Âë¹æ¸ñ»¯ÐÎʽ£¬·Ö±ðд³öÆä¶ÔÓ¦µÄÕýÊýºÍ¸ºÊýµÄÕæÖµ·¶Î§¡£

½â£º£¨1£©ÎÞ·ûºÅÕûÊý£º0 ~ 216 - 1£¬¼´£º0~ 65535£»

ÎÞ·ûºÅСÊý£º0 ~ 1 - 2-16 £¬¼´£º0 ~ 0.99998£»

£¨2£©Ô­Â붨µãСÊý£º-1 + 2-15~1 - 2-15 £¬¼´£º-0.99997~0.99997 £¨3£©²¹Â붨µãСÊý£º- 1~1 - 2-15 £¬¼´£º-1~0.99997 £¨4£©²¹Â붨µãÕûÊý£º-215~215 - 1 £¬¼´£º-32768~32767 £¨5£©Ô­Â붨µãÕûÊý£º-215 + 1~215 - 1£¬¼´£º-32767~32767

£¨6£©¾ÝÌâÒâ»­³ö¸Ã¸¡µãÊý¸ñʽ£¬µ±½×ÂëºÍβÊý¾ù²ÉÓÃÔ­Â룬·Ç¹æ¸ñ»¯Êý±íʾʱ£º

×î´ó¸ºÊý= 1£¬11 111£»1.000 000 001 £¬¼´ -2-9?2-31 ×îС¸ºÊý= 0£¬11 111£»1.111 111 111£¬¼´ -£¨1-2-9£©?231 Ôò¸ºÊý±íʾ·¶Î§Îª£º-£¨1-2-9£©?231 ¡ª¡ª -2-9?2-31 ×î´óÕýÊý= 0£¬11 111£»0.111 111 111£¬¼´ £¨1-2-9£©?231 ×îСÕýÊý= 1£¬11 111£»0.000 000 001£¬¼´ 2-9?2-31 ÔòÕýÊý±íʾ·¶Î§Îª£º2-9?2-31 ¡ª¡ª£¨1-2-9£©?231

£¨7£©µ±»úÆ÷Êý²ÉÓò¹Âë¹æ¸ñ»¯ÐÎʽʱ£¬Èô²»¿¼ÂÇÒþ²Ø룬Ôò ×î´ó¸ºÊý=1£¬00 000£»1.011 111 111£¬¼´ -2-1?2-32 ×îС¸ºÊý=0£¬11 111£»1.000 000 000£¬¼´ -1?231